[Buildroot] [PATCH v2 1/1] linux: Make dtc install step more reliable

Peter Korsgaard peter at korsgaard.com
Mon Nov 26 17:48:30 UTC 2018

>>>>> "Andreas" == Andreas Naumann <anaumann at ultratronik.de> writes:

 > Checking for the existence of the dtc binary built by the
 > non-dependent dtc package may cause instable behaviour when giving more
 > freedom on the order of how the packages are built (parallelization).

 > In addidion, when moving to per-package host/target method, the check
 > would always trigger in the isolated host, leading to linux-dtc always
 > being installed as dtc.
 > This in turn may lead to undesired overwriting of the real host-dtc binary
 > when finally assembling the global host dir.

 > Thus rework the linux-dtc install condition to be defined by configuration
 > rather than compile time order.

 > Signed-off-by: Andreas Naumann <anaumann at ultratronik.de>
 > ---
 > Changes v1 -> v2: 
 >   - simplified by direct usage of make conditional almost as suggested by
 >     Arnout (test revealed that an additinal comma was needed for correct logic)

Committed to 2018.02.x and 2018.08.x, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list