[Question] device-tree-rebasing include path

Masahiro Yamada yamada.masahiro at socionext.com
Wed Oct 21 20:35:33 PDT 2015


Hi Sascha,


2015-08-19 23:36 GMT+09:00 Sascha Hauer <s.hauer at pengutronix.de>:
> Hi Masahiro,
>
> On Mon, Aug 10, 2015 at 08:05:59AM +0900, Masahiro Yamada wrote:
>> Hi Sascha,
>>
>> I have a question about the include path
>> of device-tree-rebasing.
>>
>>
>> When I saw scripts/Makefile.lib, I noticed that
>> "-I $(srctree)/dts/src" is included for pre-processor,
>> whereas "-i $(srctree)/dts/src/$(SRCARCH)" for DTC-native.
>>
>> The root of device-tree-rebasing is dts/src/ when we use '#include',
>> but dts/src/$(SRCARCH) when we use '/include/'
>>
>>
>> Is this intentional?
>
> Nope, this is not intentional. Currently there is no user for /include/ for
> something in dts/, so we could change this to be consistent without
> breaking anything.
>
> Sascha


OK, thanks.


I have sent a patch.



-- 
Best Regards
Masahiro Yamada



More information about the barebox mailing list