Commit ca2fca22351aa8d2f52e21f2dffb22b0c82170b6
1 parent
5364add4ef
Exists in
master
and in
54 other branches
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.
Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff
Makefile
... | ... | @@ -407,6 +407,7 @@ |
407 | 407 | ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin |
408 | 408 | ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin |
409 | 409 | ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin |
410 | +ALL-$(CONFIG_SPL) += $(obj)$(subst ",,$(CONFIG_SPL_TARGET)) | |
410 | 411 | ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin |
411 | 412 | |
412 | 413 | # enable combined SPL/u-boot/dtb rules for tegra |
README
... | ... | @@ -2746,6 +2746,11 @@ |
2746 | 2746 | CONFIG_SPL_LIBGENERIC_SUPPORT |
2747 | 2747 | Support for lib/libgeneric.o in SPL binary |
2748 | 2748 | |
2749 | + CONFIG_SPL_TARGET | |
2750 | + Final target image containing SPL and payload. Some SPLs | |
2751 | + use an arch-specific makefile fragment instead, for | |
2752 | + example if more than one image needs to be produced. | |
2753 | + | |
2749 | 2754 | Modem Support: |
2750 | 2755 | -------------- |
2751 | 2756 |