aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Wood2012-09-21 16:27:32 -0500
committerScott Wood2012-11-26 15:41:21 -0600
commitca2fca22351aa8d2f52e21f2dffb22b0c82170b6 (patch)
tree945eae7a9f822b068d3a5337e0331d5af01426d2 /Makefile
parent5364add4ef90c058bea8b3eceb2a559c0a983537 (diff)
downloadu-boot-ca2fca22351aa8d2f52e21f2dffb22b0c82170b6.tar.gz
u-boot-ca2fca22351aa8d2f52e21f2dffb22b0c82170b6.tar.xz
u-boot-ca2fca22351aa8d2f52e21f2dffb22b0c82170b6.zip
spl: introduce CONFIG_SPL_TARGET
Currently the SPL target is specified in a CPU-specific makefile fragment. While some targets may need something more complicated than a simple target name, targets which don't need this shouldn't have to provide a makefile fragment just for this. Signed-off-by: Scott Wood <scottwood@freescale.com> --- v2: Removed default target as it's been pointed out to me how existing platforms cause the SPL to be built.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f2882a17c3..5f8b02c36a 100644
--- a/Makefile
+++ b/Makefile
@@ -407,6 +407,7 @@ ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map
407ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin 407ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin
408ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin 408ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin
409ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin 409ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin
410ALL-$(CONFIG_SPL) += $(obj)$(subst ",,$(CONFIG_SPL_TARGET))
410ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin 411ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin
411 412
412# enable combined SPL/u-boot/dtb rules for tegra 413# enable combined SPL/u-boot/dtb rules for tegra