summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-01-18 12:52:49 +0530
committerTom Rini <trini@konsulko.com>2019-02-02 08:23:57 -0500
commitdc146ca111873b1eabb9d0249ce0c1ec44e82a26 (patch)
tree88b1778829cb7df0945d2ed917802c773fb8526d /Kconfig
parentdc57be51e9dcdb67325b62e7da7992cca9854e0f (diff)
downloadu-boot-dc146ca111873b1eabb9d0249ce0c1ec44e82a26.tar.gz
u-boot-dc146ca111873b1eabb9d0249ce0c1ec44e82a26.tar.bz2
u-boot-dc146ca111873b1eabb9d0249ce0c1ec44e82a26.zip
Kconfig: Migrate CONFIG_BUILD_TARGET
Migrate CONFIG_BUILD_TARGET into Kconfig. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index a078f7b1b6..ad32c1d36d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -224,6 +224,19 @@ config BUILD_ROM
which are not shipped in the U-Boot source tree.
Please, see doc/README.x86 for details.
+config BUILD_TARGET
+ string "Build target special images"
+ default "u-boot-with-spl.sfp" if ARCH_SOCFPGA
+ default "u-boot-spl.kwb" if ARCH_MVEBU && SPL_BUILD
+ default "u-boot-elf.srec" if RCAR_GEN3
+ default "u-boot.itb" if SPL_LOAD_FIT && ARCH_SUNXI
+ help
+ Some SoCs need special image types (e.g. U-Boot binary
+ with a special header) as build targets. By defining
+ CONFIG_BUILD_TARGET in the SoC / board header, this
+ special image will be automatically built upon calling
+ make / buildman.
+
endmenu # General setup
menu "Boot images"