summaryrefslogtreecommitdiff
path: root/scripts/scan-tools.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-29 19:35:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-29 19:35:23 +0200
commit7197f661cca3f3b23c26c552845fb932b77e434a (patch)
tree4a49ec0a1b1f51252cde6e3cdb937a3f91fc563c /scripts/scan-tools.sh
parentb83641c86a5612341ceff1b33ab143b6b71c813c (diff)
add host tar, GNU tar required for uClibc header installations.
Diffstat (limited to 'scripts/scan-tools.sh')
-rw-r--r--scripts/scan-tools.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 0bfb36c3c..03d5c845f 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -228,6 +228,13 @@ if ! which pkgconf >/dev/null 2>&1; then
host_build_pkgconf=1
fi
+host_build_tar=0
+if ! which tar >/dev/null 2>&1; then
+ if ! tar --version 2>/dev/null|grep GNU >/dev/null;then
+ host_build_tar=1
+ fi
+fi
+
host_build_findutils=0
if ! which gxargs >/dev/null 2>&1; then
if which xargs >/dev/null 2>&1; then
@@ -316,6 +323,7 @@ if [ $host_build_patch -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_PATCH
if [ $host_build_pkgconf -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_PKGCONF" >> $topdir/target/config/Config.in.prereq ;fi
if [ $host_build_findutils -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_FINDUTILS" >> $topdir/target/config/Config.in.prereq ;fi
if [ $host_build_sed -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_SED" >> $topdir/target/config/Config.in.prereq ;fi
+if [ $host_build_tar -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_TAR" >> $topdir/target/config/Config.in.prereq ;fi
if [ $host_build_xz -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_XZ" >> $topdir/target/config/Config.in.prereq ;fi
# optional
if [ $host_build_ccache -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_CCACHE if ADK_HOST_NEED_CCACHE" >> $topdir/target/config/Config.in.prereq ;fi