From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 19 Jun 2013 14:56:24 -0600 Subject: [U-Boot] [PATCH 3/8] dts/Makefile: unify cpp/dtc include paths In-Reply-To: References: <1370906224-5023-1-git-send-email-swarren@wwwdotorg.org> <1370906224-5023-4-git-send-email-swarren@wwwdotorg.org> Message-ID: <51C21AF8.1010302@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/19/2013 02:51 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Jun 10, 2013 at 4:16 PM, Stephen Warren > wrote: > > From: Stephen Warren > > > *.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).