aboutsummaryrefslogtreecommitdiff
path: root/dts/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dts/makefile')
-rw-r--r--dts/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/dts/makefile b/dts/makefile
index a556a5f..5f0fe9c 100644
--- a/dts/makefile
+++ b/dts/makefile
@@ -10,11 +10,14 @@ CPPFLAGS += -x assembler-with-cpp
all: am335x-boneblack-uboot.dtb
# all: am335x-boneblack-uboot-univ.dtb
+# odering is important:
+%.dts.pre: %.dts
+ $(CPP) $(CPPFLAGS) $< $@
%.dts.pre: src/%.dts
$(CPP) $(CPPFLAGS) $< $@
%.dtb: %.dts.pre
$(DTC) $(DTCFLAGS) -o $@ $<
-%.dtb: %.dts
- $(DTC) $(DTCFLAGS) -o $@ $<
+# %.dtb: %.dts
+# $(DTC) $(DTCFLAGS) -o $@ $<