Go to file
Philipp Wagner 869773d668 linux: make BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT public
Currently the BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT option is only
available to be selected by another config option. This option controls
if the Linux build system should build the DTB itself, or if buildroot
explicitly calls the Linux Makefile like "make something.dtb".

My use case: I want to build an OpenRISC image with a custom device tree
file. OpenRISC does not support appended DTBs, and I'm not using a
bootloader, but link everything into a single kernel (vmlinux) image.

The kernel option CONFIG_OPENRISC_BUILTIN_DTB allows me to specify a dtb
file, which is typically located in the kernel source tree in
arch/openrisc/boot/dts/NAME.dts.

Since my dts file is not part of the upstream kernel, I have two
options: either patch the kernel to include the DTS file, and then
specify it using the CONFIG_OPENRISC_BUILTIN_DTB option.

Or use buildroot's BR2_LINUX_KERNEL_CUSTOM_DTS_PATH config option to
copy any DTS file to the kernel source tree, and then specify this file
with CONFIG_OPENRISC_BUILTIN_DTB as before.

However, the second option also requries the buildroot option
BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT to be set, otherwise I end up with a
"make -C kerneldir NAME.dts" call, which doesn't work (no such target
exists).

Currently the BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT option exists, but it's
not visible/available. Simply making it available solves the problem for
me nicely.

Signed-off-by: Philipp Wagner <mail@philipp-wagner.com>
[Arnout: add help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-08-01 16:08:01 +02:00
arch ARC: Add support for ARC HS38 with Quad MAC & FPU 2019-08-01 11:56:39 +02:00
board configs/warp7: Bump kernel and U-Boot versions 2019-07-14 11:57:39 +02:00
boot boot/uboot: add option to generate env image from default env 2019-08-01 12:52:29 +02:00
configs imx7dpico: Bump kernel 2019-08-01 09:25:59 +02:00
docs docs/manual: 'Fixes' tag needs a colon 2019-07-14 12:13:56 +02:00
fs fs/cpio: fix typo in comment 2019-07-17 08:56:35 +02:00
linux linux: make BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT public 2019-08-01 16:08:01 +02:00
package package/dropwatch: bump to version 1.5.1 2019-08-01 15:50:20 +02:00
support support/scripts/pkg-stats: improve 'package_init_make_info' 2019-08-01 14:27:23 +02:00
system system/Config.in: add new init - openrc 2019-05-18 23:16:04 +02:00
toolchain toolchain-external: anchor sysroot regex with / 2019-08-01 10:23:24 +02:00
utils utils/checkpackagelib: CommentsMenusPackagesOrder: only apply to top-level 2019-08-01 09:58:15 +02:00
.defconfig
.flake8 .flake8: fix check for 80/132 columns 2019-04-10 12:31:33 +02:00
.gitignore
.gitlab-ci.yml Update .gitlab-ci.yml after addition of luaposix test 2019-08-01 14:25:33 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: add trigger per job 2019-05-01 15:42:45 +02:00
CHANGES Update for 2019.02.4 2019-07-10 11:29:30 +02:00
Config.in
Config.in.legacy package/x11r7/xapp_mkfontdir: remove package 2019-06-20 21:39:03 +02:00
COPYING
DEVELOPERS c-capnproto: add package 2019-08-01 11:47:04 +02:00
Makefile Makefile: don't export GZIP environment variable 2019-07-17 08:46:05 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches