[Question] device-tree-rebasing include path

Sascha Hauer s.hauer at pengutronix.de
Wed Aug 19 07:36:26 PDT 2015


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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list