X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=Makefile;h=5c8c4c971fb919f3211f478efba2c12dbf58fe8f;hb=7e91f6ccdc84fe5952e5c26769e65d12e5fc4733;hp=3000d30be23c708de27d6bab1eb7f0b4a9582bd8;hpb=ee93ef0c4b272c57c08038655ff0259fdd2c4126;p=oweals%2Fu-boot.git diff --git a/Makefile b/Makefile index 3000d30be2..5c8c4c971f 100644 --- a/Makefile +++ b/Makefile @@ -732,6 +732,7 @@ libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/ libs-$(CONFIG_SYS_FSL_MMDC) += drivers/ddr/fsl/ libs-$(CONFIG_$(SPL_)ALTERA_SDRAM) += drivers/ddr/altera/ libs-y += drivers/serial/ +libs-y += drivers/usb/cdns3/ libs-y += drivers/usb/dwc3/ libs-y += drivers/usb/common/ libs-y += drivers/usb/emul/ @@ -1125,7 +1126,15 @@ u-boot.bin: u-boot-nodtb.bin FORCE $(call if_changed,copy) endif -%.imx: %.bin +# we call Makefile in arch/arm/mach-imx which +# has targets which are dependent on targets defined +# here. make could not resolve them and we must ensure +# that they are finished before calling imx targets +ifeq ($(CONFIG_MULTI_DTB_FIT),y) +IMX_DEPS = u-boot-fit-dtb.bin +endif + +%.imx: $(IMX_DEPS) %.bin $(Q)$(MAKE) $(build)=arch/arm/mach-imx $@ $(BOARD_SIZE_CHECK)