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

Arnout Vandecappelle arnout at mind.be
Mon Nov 12 13:59:45 UTC 2018



On 12/11/2018 13:55, Andreas Naumann wrote:
> Hi,
> 
> Am 09.11.18 um 23:14 schrieb Arnout Vandecappelle:
>>
>>
>> On 08/11/2018 14:04, Andreas Naumann wrote:
> ...
>>> -        if [ ! -e $(HOST_DIR)/bin/dtc ]; then \
>>> +        if [ "$(BR2_PACKAGE_HOST_DTC)" != "y" ]; then \
>>>               ln -sf linux-dtc $(HOST_DIR)/bin/dtc ; \
>>>           fi \
>>
>>   Since now it's purely steered by a make variable, you can change it into
>>
>>           $(if $(BR2_PACKAGE_HOST_DTC),ln -sf linux-dtc $(HOST_DIR)/bin/dtc;) \
> 
> Thanks. I'll resend v2.

 Please test as well. I have a good track record of proposing broken code :-)

 Regards,
 Arnout

[snip]



More information about the buildroot mailing list