mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +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)
|
||||
$(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 $< \
|
||||
|
|
Loading…
Reference in a new issue