[U-Boot] [PATCH 3/8] dts/Makefile: unify cpp/dtc include paths
Stephen Warren
swarren at wwwdotorg.org
Wed Jun 19 22:56:24 CEST 2013
On 06/19/2013 02:51 PM, Simon Glass wrote:
> Hi Stephen,
>
> On Mon, Jun 10, 2013 at 4:16 PM, Stephen Warren <swarren at wwwdotorg.org
> <mailto:swarren at wwwdotorg.org>> wrote:
>
> From: Stephen Warren <swarren at nvidia.com <mailto:swarren at nvidia.com>>
>
> *.dts may use #include (via cpp) or /include/ (via dtc; assuming a newer
> dtc). The choice is up to the creator of the DT. Create a common
> variable
> DTC_INCDIRS that lists the paths searched by include statements, and
> update cpp and dtc invocation to use them.
> $(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts
> $(CPP) -P $(DTS_CPPFLAGS) $< -o $(DT_BIN).dtstmp
> - $(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} $(DT_BIN).dtstmp
> + $(DTC) $(DTC_FLAGS) -O dtb -o ${DT_BIN} $(DT_BIN).dtstmp
>
>
> .dts.tmp perhaps?
I chose dtstmp to match *.cfgtmp which I found in .gitignore. Still, I
have no idea what those files are, so there's probably no reason to be
consistent with them. I can change this if you want (in patch 2/8).
More information about the U-Boot
mailing list