Allow DTC path to be passed in.

Signed-off-by: Jon Loeliger <jdl@jdl.com>
This commit is contained in:
Jon Loeliger 2006-06-07 10:52:49 -05:00
parent c83ae9ea6d
commit d9bf4858fc

View 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 $< \