mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
Allow DTC path to be passed in.
Signed-off-by: Jon Loeliger <jdl@jdl.com>
This commit is contained in:
parent
c83ae9ea6d
commit
d9bf4858fc
1 changed files with 5 additions and 1 deletions
|
@ -31,8 +31,12 @@ SOBJS := init.o
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) crv $@ $(OBJS)
|
||||||
|
|
||||||
|
ifndef DTC
|
||||||
|
DTC := dtc
|
||||||
|
endif
|
||||||
|
|
||||||
%.dtb: %.dts
|
%.dtb: %.dts
|
||||||
dtc -f -V 0x10 -I dts -O dtb $< >$@
|
$(DTC) -f -V 0x10 -I dts -O dtb $< >$@
|
||||||
|
|
||||||
%.c: %.dtb
|
%.c: %.dtb
|
||||||
xxd -i $< \
|
xxd -i $< \
|
||||||
|
|
Loading…
Reference in a new issue