]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
spl: introduce CONFIG_SPL_TARGET
[karo-tx-uboot.git] / Makefile
index f2882a17c36742b2f9a1bd9a7d550ebf719287fe..5f8b02c36a5ea624c9f590838737aedb2ec2f328 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -407,6 +407,7 @@ ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map
 ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin
 ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin
 ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin
+ALL-$(CONFIG_SPL) += $(obj)$(subst ",,$(CONFIG_SPL_TARGET))
 ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin
 
 # enable combined SPL/u-boot/dtb rules for tegra