summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/mpc8641hpcn/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/mpc8641hpcn/Makefile b/board/mpc8641hpcn/Makefile
index 2613730..060db84 100644
--- a/board/mpc8641hpcn/Makefile
+++ b/board/mpc8641hpcn/Makefile
@@ -31,8 +31,12 @@ SOBJS := init.o
$(LIB): $(OBJS) $(SOBJS)
$(AR) crv $@ $(OBJS)
+ifndef DTC
+DTC := dtc
+endif
+
%.dtb: %.dts
- dtc -f -V 0x10 -I dts -O dtb $< >$@
+ $(DTC) -f -V 0x10 -I dts -O dtb $< >$@
%.c: %.dtb
xxd -i $< \