]> git.dujemihanovic.xyz Git - u-boot.git/commit
dts/Makefile: pass -undef -D__DTS__ to cpp
authorStephen Warren <swarren@nvidia.com>
Wed, 24 Jul 2013 17:09:24 +0000 (10:09 -0700)
committerTom Rini <trini@ti.com>
Fri, 2 Aug 2013 22:30:11 +0000 (18:30 -0400)
commitf53932addd3169839834829937a3cd7ae912f7ac
tree380612ddd364de6228ed9f30a977438484a9cf04
parent32ac4bd9ca6402ea7d07d528d2e550c7ea76e4b3
dts/Makefile: pass -undef -D__DTS__ to cpp

This brings U-Boot's cpp invocation into line with the way the Linux
kernel invokes cpp on device trees. Consistency will be useful to ensure
*.dts is portable between the two.

-undef also has the added advantage of not defining "linux", so DT
property names such as "linux,keymap" don't get mangled.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
dts/Makefile