carl9170: allow kconfig options in autogen.sh's parameters
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:16:13 +0000 (23:16 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:16:13 +0000 (23:16 +0100)
kconf supports several interesting options:
 --allnoconfig    New config where all options are answered with no
 --allyesconfig   New config where all options are answered with yes
 --alldefconfig   New config with all symbols set to default
 --randconfig     New config with random answer to all options

to build the default firmware image, it is enough to run:
./autogen.sh --alldefconfig

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
autogen.sh

index 287d7a2cd476e37ae7f27c53ab8e252357588ee7..a360065b8b4a467c9c051f75d1ce98b57a6e1677 100755 (executable)
@@ -9,7 +9,8 @@ case "$1" in
                cmake .
                make
                popd
-               config/conf Kconfig
+               shift 1
+               config/conf Kconfig "$@"
                cmake .
        ;;
 
@@ -44,7 +45,7 @@ case "$1" in
        ;;
 
        *)
-               $0 config
+               $0 config "$@"
                $0 compile
        ;;