summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-07-21 11:02:43 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-07-21 11:56:18 +0200
commit7d4c75127b445a4878a54c4be00a84e95e1b385b (patch)
tree2b76f64571b065a0a9efb13439da0356cbd27018
parenteac17e91c769a2b688c5f002ef1104117cb26f7e (diff)
downloadptxdist-stable/ptxdist-2013.06.x.tar.gz
dtc: use GENERIC_KERNEL_ARCH for cpp, tooptxdist-2013.06.1stable/ptxdist-2013.06.x
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> (cherry picked from commit 421a40af72edf7ded3a78baa7598d7b8d74815ce) Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/dtc.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/dtc.make b/rules/dtc.make
index eb755a2..a0eca75 100644
--- a/rules/dtc.make
+++ b/rules/dtc.make
@@ -32,8 +32,8 @@ ptx/dtb = $(notdir $(basename $(strip $(1)))).dtb
-nostdinc \
-P \
-I$(dir $<) \
- -I$(KERNEL_DIR)/arch/$(KERNEL_ARCH)/boot/dts \
- -I$(KERNEL_DIR)/arch/$(KERNEL_ARCH)/boot/dts/include \
+ -I$(KERNEL_DIR)/arch/$(GENERIC_KERNEL_ARCH)/boot/dts \
+ -I$(KERNEL_DIR)/arch/$(GENERIC_KERNEL_ARCH)/boot/dts/include \
-undef -D__DTS__ -x assembler-with-cpp \
-o $<.tmp \
$<