]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
kbuild: remove "*_felconfig" target
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 13 Mar 2015 09:08:54 +0000 (18:08 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:19 +0000 (14:34 +0200)
This target was added by commit cbdd9a9737cc (sunxi: kconfig: Add
%_felconfig rule to enable FEL build of sunxi platforms.).

At that time, U-Boot used separate .config files for U-Boot proper
and SPL.  I understood the pain to modify both .config and
spl/.config.

Now, we have switched to single .config configuration.
It seems acceptable to run "make menuconfig" or friends to enable
CONFIG_SPL_FEL, as we do for other CONFIGs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Ian Campbell <ijc@hellion.org.uk>
Cc: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/multiconfig.sh

index cc8a787f88602a9d1e88e7b3d4a1515380e1184b..9c6b2563492417665b6ebcbc800f71f6c059245e 100755 (executable)
@@ -70,16 +70,6 @@ do_board_defconfig () {
        cleanup_after_defconfig
 }
 
-do_board_felconfig () {
-    do_board_defconfig ${1%%_felconfig}_defconfig
-    if ! grep -q CONFIG_ARCH_SUNXI=y .config || ! grep -q CONFIG_SPL=y .config ; then
-       echo "$progname: Cannot felconfig a non-sunxi or non-SPL platform" >&2
-       exit 1
-    fi
-    sed -i -e 's/\# CONFIG_SPL_FEL is not set/CONFIG_SPL_FEL=y\nCONFIG_UART0_PORT_F=n/g' \
-       .config
-}
-
 do_others () {
        run_make_config $1
 }
@@ -90,8 +80,6 @@ target=$1
 case $target in
 *_defconfig)
        do_board_defconfig $target;;
-*_felconfig)
-       do_board_felconfig $target;;
 *_config)
        # backward compatibility
        do_board_defconfig ${target%_config}_defconfig;;