diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-01 03:22:03 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-05-01 03:22:03 -0500 |
commit | 7d457c535bb287a8aa19162fa3315ae583faff17 (patch) | |
tree | 2e906523b93d6781432158dedb1e0f451433c663 /scripts | |
parent | 835abeaeefd5fcde0d07c45ae66fb406d7e9b416 (diff) |
check for cksum and sha256sum, too
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-tools.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index b55c08a1f..1afdb6c64 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -114,9 +114,13 @@ fi rm test 2>/dev/null if ! which shasum >/dev/null 2>&1; then - echo You must install shasum to continue. + if ! which sha256sum >/dev/null 2>&1; then + if ! which cksum >/dev/null 2>&1; then + echo You must install shasum or sha256sum or cksum to continue. echo out=1 + fi + fi fi if ! which gzip >/dev/null 2>&1; then @@ -329,7 +333,7 @@ if ! which qemu-img >/dev/null 2>&1; then fi echo "config ADK_HOST_BUILD_TOOLS" > $topdir/target/config/Config.in.prereq -printf "\t%s\n" "boolean" >> $topdir/target/config/Config.in.prereq +printf "\t%s\n" "bool" >> $topdir/target/config/Config.in.prereq printf "\t%s\n" "default y" >> $topdir/target/config/Config.in.prereq # always required if [ $host_build_bc -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_BC" >> $topdir/target/config/Config.in.prereq ;fi |