All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/8] dts/Makefile: unify cpp/dtc include paths
Date: Wed, 19 Jun 2013 14:56:24 -0600	[thread overview]
Message-ID: <51C21AF8.1010302@wwwdotorg.org> (raw)
In-Reply-To: <CAPnjgZ00Ad7KzMhVzUAq_bg2G5-Eua3PQF_ns=p=EjjZck0ZTQ@mail.gmail.com>

On 06/19/2013 02:51 PM, Simon Glass wrote:
> Hi Stephen,
> 
> On Mon, Jun 10, 2013 at 4:16 PM, Stephen Warren <swarren@wwwdotorg.org
> <mailto:swarren@wwwdotorg.org>> wrote:
> 
>     From: Stephen Warren <swarren at nvidia.com <mailto:swarren@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).

  reply	other threads:[~2013-06-19 20:56 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 23:16 [U-Boot] [PATCH 0/8] rely on latest dtc, simplify Stephen Warren
2013-06-10 23:16 ` [U-Boot] [PATCH 1/8] xilinx: move microblaze-generic .dts to standard location Stephen Warren
2013-06-19 20:36   ` Simon Glass
2013-06-20  5:24     ` Michal Simek
2013-06-10 23:16 ` [U-Boot] [PATCH 2/8] dts/Makefile: simplify dtc invocation Stephen Warren
2013-06-19 20:37   ` Simon Glass
2013-06-19 20:43     ` Stephen Warren
2013-06-10 23:16 ` [U-Boot] [PATCH 3/8] dts/Makefile: unify cpp/dtc include paths Stephen Warren
2013-06-19 20:51   ` Simon Glass
2013-06-19 20:56     ` Stephen Warren [this message]
2013-06-19 21:09       ` Simon Glass
2013-06-10 23:17 ` [U-Boot] [PATCH 4/8] dt: don't use ARCH_CPU_DTS Stephen Warren
2013-06-19 20:52   ` Simon Glass
2013-06-10 23:17 ` [U-Boot] [PATCH 5/8] dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS Stephen Warren
2013-06-19 20:54   ` Simon Glass
2013-06-10 23:17 ` [U-Boot] [PATCH 6/8] config: don't define CONFIG_ARCH_DEVICE_TREE Stephen Warren
2013-06-11  6:52   ` Jagan Teki
2013-06-11 16:03     ` Stephen Warren
2013-06-19 20:56   ` Simon Glass
2013-06-10 23:17 ` [U-Boot] [PATCH 7/8] dts/Makefile: don't use cpp -P Stephen Warren
2013-06-19 20:58   ` Simon Glass
2013-06-10 23:17 ` [U-Boot] [PATCH 8/8] dts/Makefile: pass -undef -D__DTS__ to cpp Stephen Warren
2013-06-19 21:01   ` Simon Glass
2013-06-11 16:19 ` [U-Boot] [PATCH 0/8] rely on latest dtc, simplify Tom Rini
2013-06-11 16:36   ` Stephen Warren
2013-06-11 22:09     ` Tom Rini
2013-06-19 12:46   ` Tom Rini
2013-06-19 15:38     ` Stephen Warren
2013-06-19 15:44       ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C21AF8.1010302@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.