From 8234f5968c144850192158642825e5933ba2a215 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 14 Jan 2013 11:21:38 +0000 Subject: [PATCH] carl9170: Add checksum during installation, as preferred by the driver Signed-off-by: Ben Hutchings Signed-off-by: Christian Lamparter --- autogen.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 729041e..ef38cab 100755 --- a/autogen.sh +++ b/autogen.sh @@ -27,10 +27,15 @@ case "$1" in make echo -n "Installing firmware..." - if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ] && - [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then + if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ]; then + + if [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then echo -n "Apply miniboot..." + # also adds checksum tools/src/miniboot a carlfw/carl9170.fw minifw/miniboot.fw + else + echo -n "Add checksum..." + tools/src/checksum carlfw/carl9170.fw fi sudo install -m 644 carlfw/carl9170.fw \ -- 2.31.1