summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorTom Warren <twarren.nvidia@gmail.com>2013-02-21 12:31:27 +0000
committerTom Warren <twarren@nvidia.com>2013-03-14 11:06:42 -0700
commit6c5be646b47e0dfea3df5a08948f50d1c5d37f68 (patch)
treec34f7a759a526986534faa1fbb33d275ada902ce /dts
parenta7f8b5e616e49a2bb819eeb96b5438039307e7b6 (diff)
downloadu-boot-6c5be646b47e0dfea3df5a08948f50d1c5d37f68.tar.gz
u-boot-6c5be646b47e0dfea3df5a08948f50d1c5d37f68.tar.bz2
u-boot-6c5be646b47e0dfea3df5a08948f50d1c5d37f68.zip
Tegra: fdt: Change /include/ to #include for C preprocessor
dts Makefile has the arch & board include paths added to DTS_CPPFLAGS. This allows the use of '#include "xyz"' in the dts/dtsi file which helps the C preprocessor find common dtsi include files. Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dts/Makefile b/dts/Makefile
index 922c78c1ca..6f36153634 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -38,7 +38,8 @@ Please define CONFIG_ARCH_DEVICE_TREE))
# We preprocess the device tree file provide a useful define
DTS_CPPFLAGS := -x assembler-with-cpp \
-DARCH_CPU_DTS=\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\" \
- -DBOARD_DTS=\"$(SRCTREE)/board/$(VENDOR)/$(BOARD)/dts/$(DEVICE_TREE).dts\"
+ -DBOARD_DTS=\"$(SRCTREE)/board/$(VENDOR)/$(BOARD)/dts/$(DEVICE_TREE).dts\" \
+ -I$(SRCTREE)/board/$(VENDOR)/dts -I$(SRCTREE)/arch/$(ARCH)/dts
all: $(obj).depend $(LIB)