summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2006-06-07 10:52:49 -0500
committerJon Loeliger <jdl@jdl.com>2006-06-07 10:52:49 -0500
commitd9bf4858fca5aa4d651b283270f77da72ebadfd5 (patch)
tree34541dde8b42c9236f98e3ef02444a4f8656c2bd
parentc83ae9ea6d93abbe751bf8a3396236a084e56f87 (diff)
downloadu-boot-imx-d9bf4858fca5aa4d651b283270f77da72ebadfd5.zip
u-boot-imx-d9bf4858fca5aa4d651b283270f77da72ebadfd5.tar.gz
u-boot-imx-d9bf4858fca5aa4d651b283270f77da72ebadfd5.tar.bz2
Allow DTC path to be passed in.
Signed-off-by: Jon Loeliger <jdl@jdl.com>
-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 $< \