Makefile: u-boot.itb: use dt-spl.dtb if using kernel dtb
Change-Id: Ia8244dfefbdddb638779f56207e400b44590bb35 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
60ea26bd95
commit
510e4046a6
4
Makefile
4
Makefile
|
|
@ -1036,8 +1036,12 @@ u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \
|
||||||
$(if $(CONFIG_SPL_LOAD_FIT),u-boot-nodtb.bin dts/dt.dtb,u-boot.bin) FORCE
|
$(if $(CONFIG_SPL_LOAD_FIT),u-boot-nodtb.bin dts/dt.dtb,u-boot.bin) FORCE
|
||||||
$(call if_changed,mkimage)
|
$(call if_changed,mkimage)
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_USING_KERNEL_DTB),y)
|
||||||
|
u-boot.itb: u-boot-nodtb.bin dts/dt-spl.dtb $(U_BOOT_ITS) FORCE
|
||||||
|
else
|
||||||
u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE
|
u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE
|
||||||
$(call if_changed,mkfitimage)
|
$(call if_changed,mkfitimage)
|
||||||
|
endif
|
||||||
|
|
||||||
u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE
|
u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE
|
||||||
$(call if_changed,mkimage)
|
$(call if_changed,mkimage)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue