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