From: Christian Lamparter Date: Mon, 15 Nov 2010 19:27:08 +0000 (+0100) Subject: carl9170 firmware build: automatically apply miniboot.fw X-Git-Tag: 1.9.1~2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=549126ff5628df58264f157bc3339f1c4e828823;p=carl9170fw.git carl9170 firmware build: automatically apply miniboot.fw Signed-off-by: Christian Lamparter --- diff --git a/autogen.sh b/autogen.sh index e530fb1..d61418c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -25,11 +25,18 @@ case "$1" in if [ "$CONFIG_CARL9170FW_MAKE_RELEASE" = "y" ]; then - echo "Installing firmware..." + echo -n "Installing firmware..." tmpfwfile=`mktemp` cat carlfw/carl9170.fw carlfw/carl9170.dsc > $tmpfwfile + if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ] && + [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then + echo -n "Apply miniboot..." + tools/src/miniboot a $tmpfwfile minifw/miniboot.fw + fi + sudo install $tmpfwfile /lib/firmware/carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw rm $tmpfwfile + echo "done." fi ;;