Explorar o código

Allow DTC path to be passed in.

Signed-off-by: Jon Loeliger <jdl@jdl.com>
Jon Loeliger %!s(int64=19) %!d(string=hai) anos
pai
achega
d9bf4858fc
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      board/mpc8641hpcn/Makefile

+ 5 - 1
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 $< \