[Buildroot] [git commit branch/next] linux: allow both in-tree and custom dts files
Peter Korsgaard
peter at korsgaard.com
Mon Feb 26 08:11:06 UTC 2018
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> Simon, All,
> On 2018-02-25 17:19 +0100, Arnout Vandecappelle spake thusly:
>> commit: https://git.buildroot.net/buildroot/commit/?id=382fe9f9261812682eab2d35e47aa94dc554380e
>> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
>>
>> For some boards, for example the Raspberry Pi, it's necessary to build
>> in-tree dts files as well as custom/out of tree dts-files (dt-blob.bin).
>> The existing logic made these two options exclusive, this commit changes
>> that to allow both in-tree as well as custom sources for dts files.
> This breaks all our cufrrent defconfig files that build a DTB, like
> for example configs/stm32f429_disco_defconfig, because the default
> that was implied by a choice is no longer true, so we need to add
> BR2_LINUX_KERNEL_USE_INTREE_DTS=y to those defconfig files.
That still doesn't fix it for any external defconfig. Adding a 'default
y' to BR2_LINUX_KERNEL_USE_INTREE_DTS will likewise break it for users
of BR2_LINUX_KERNEL_USE_CUSTOM_DTS. Perhaps we can change the logic to
look for nonempty BR2_LINUX_KERNEL_INTREE_DTS_NAME /
BR2_LINUX_KERNEL_CUSTOM_DTS_PATH variables?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list