
On Fri, 18 Jan 2019, 8:03 PM Jagan Teki <jagan@amarulasolutions.com wrote:
On Fri, Jan 18, 2019 at 12:18 PM Chris Packham judge.packham@gmail.com wrote:
On Fri, 18 Jan 2019, 6:57 AM Jagan Teki <jagan@amarulasolutions.com
wrote:
Migrate CONFIG_BUILD_TARGET into Kconfig.
Signed-off-by: Jagan Teki jagan@amarulasolutions.com
Kconfig | 13 +++++++++++++ README | 7 ------- arch/arm/mach-mvebu/include/mach/config.h | 5 ----- configs/SBx81LIFKW_defconfig | 1 + configs/SBx81LIFXCAT_defconfig | 1 + configs/dreamplug_defconfig | 1 + configs/ds109_defconfig | 1 + configs/guruplug_defconfig | 1 + configs/ib62x0_defconfig | 1 + configs/nsa310s_defconfig | 1 + configs/sheevaplug_defconfig | 1 + include/configs/SBx81LIFKW.h | 1 - include/configs/SBx81LIFXCAT.h | 1 - include/configs/ib62x0.h | 3 --- include/configs/mv-plug-common.h | 3 --- include/configs/nsa310s.h | 3 --- include/configs/rcar-gen3-common.h | 1 - include/configs/socfpga_common.h | 3 --- include/configs/sunxi-common.h | 1 - scripts/config_whitelist.txt | 1 - 20 files changed, 21 insertions(+), 29 deletions(-)
diff --git a/Kconfig b/Kconfig index aff7b2e00a..3a3a8d4d5b 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 ARCH_SUNXI && ARM64
default "u-boot.kwb" if KIRKWOOD would also be good to add. I can do it
if you don't send a v2.
Is it new change, if yes prepare another patch? if not let me know where do we need to change I mean which ARCH in above definition.
Yeah it'd be new to this Kconfig but it would have saved you having to update some of the defconfigs. Since you've already done the defconfig changes I can send a patch on top of this that adds a default and removes some of the defconfig changes.