carl9170 toolchain: update to gcc 6.1.0, newlib 2.4.0 and binutils 2.26
[carl9170fw.git] / autogen.sh
index a5896559b3ff79c0dfe8d5be206c7ba69fdff3a2..0c4776dbc68549a3da4b1e21e211e97824f00bbb 100755 (executable)
@@ -9,7 +9,8 @@ case "$1" in
                cmake .
                make
                popd
-               config/conf Kconfig
+               shift 1
+               config/conf Kconfig "$@"
                cmake .
        ;;
 
@@ -27,10 +28,6 @@ case "$1" in
                make
 
                echo -n "Installing firmware..."
-               if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ]; then
-
-
-
                if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ]; then
                        echo -n "Prepare firmware image..."
                        tools/src/fwprepare carlfw/carl9170.fw
@@ -47,7 +44,7 @@ case "$1" in
        ;;
 
        *)
-               $0 config
+               $0 config "$@"
                $0 compile
        ;;