[Buildroot] [PATCH 2/7] dtc: add host build

Peter Korsgaard peter at korsgaard.com
Sun Oct 4 18:12:29 UTC 2015


>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:

Hi,

 >> From: Peter Seiderer <ps.report at gmx.net>
 >> 
 >> Having a host variant of dtc is needed for example for U-Boot, which
 >> uses the Device Tree for a number of platforms.
 >> 
 >> In addition, now that we have a proper host-dtc package, it is no
 >> longer needed for the linux package to install the host dtc compiler:
 >> users interested in having the host dtc compiler can simply enable
 >> this package.

 > No, please do not drop the linux dtc host...things have changed since
 > my initial patch set. My intend was do enable a host dtc version with
 > overlay support as used with the raspberry pi (therefore the host
 > dtc package with overlay support patches which where not included
 > with the rpi kernel sources dtc package). Now things have changed
 > and the actual rpi kernel sources dtc already contain the overlay
 > patches. Please keep both options, linux sources host dtc and
 > extra host dtc package...

The problem really is that dtc isn't dtc. I've changed the Linux kernel
package to install its dtc into $(HOST_DIR)/usr/bin/linux-dtc instead so
it doesn't conflict with host-dtc.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list