]> git.sur5r.net Git - u-boot/commitdiff
Allow DTC path to be passed in.
authorJon Loeliger <jdl@jdl.com>
Wed, 7 Jun 2006 15:52:49 +0000 (10:52 -0500)
committerJon Loeliger <jdl@jdl.com>
Wed, 7 Jun 2006 15:52:49 +0000 (10:52 -0500)
Signed-off-by: Jon Loeliger <jdl@jdl.com>
board/mpc8641hpcn/Makefile

index 26137304092f6c3ccd18b468206111634486cc68..060db84efd249a9b1413d76a57272a1dca3f79e3 100644 (file)
@@ -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 $< \