aboutsummaryrefslogtreecommitdiff
path: root/dts/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-14 15:02:34 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-14 15:02:34 +0200
commitdb8a968971df853c2f20b5ba0aa877cd89026ea5 (patch)
tree90345143fc6d4006c295a883d1a1023f32664c84 /dts/makefile
parent7429778133f01e278422bf68154470f190cd5572 (diff)
add decompiled dts
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 $@ $<