From 7197f661cca3f3b23c26c552845fb932b77e434a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 29 Jul 2014 19:35:23 +0200 Subject: add host tar, GNU tar required for uClibc header installations. --- scripts/scan-tools.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3