kumquat-buildroot/linux
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
..
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional linux: add conditional patch for timeconst.pl 2016-02-10 08:12:57 +01:00
Config.ext.in linux/linux-ext-xenomai: allow URL for the ADEOS/IPIPE patch 2019-05-20 21:21:42 +02:00
Config.in linux: make BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT public 2019-08-01 16:08:01 +02:00
linux-ext-aufs.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-ev3dev-linux-drivers.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-fbtft.mk linux/linux-ext-*.mk: fit file header into one line 2018-04-01 08:43:07 +02:00
linux-ext-rtai.mk linux/linux*.mk: fix code style 2018-04-01 08:43:42 +02:00
linux-ext-xenomai.mk linux/linux-ext-xenomai: add check-package exclusion comment 2019-06-08 22:59:32 +02:00
linux.hash {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{1, 2}.x series 2019-07-30 17:27:00 +02:00
linux.mk linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev management 2019-07-31 08:20:11 +02:00