From 8ba4645f6b4c79485f4d039e5c80a383087bc2cb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Jun 2020 11:14:19 +0200 Subject: linux uses rsync nowadays to copy headers --- scripts/prereq.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts/prereq.sh') diff --git a/scripts/prereq.sh b/scripts/prereq.sh index 1763a1d65..b71adaac1 100755 --- a/scripts/prereq.sh +++ b/scripts/prereq.sh @@ -521,6 +521,15 @@ else printf "found\n" fi +printf " ---> checking if rsync is installed.. " +host_build_rsync=0 +if ! which rsync >/dev/null 2>&1; then + printf "not found\n" + host_build_rsync=1 +else + printf "found\n" +fi + host_build_tar=0 if which tar >/dev/null 2>&1; then if ! tar --version 2>/dev/null|grep GNU >/dev/null;then @@ -692,6 +701,9 @@ fi if [ $host_build_patch -eq 1 ]; then printf "\t%s\n" "select ADK_HOST_BUILD_PATCH" >> $topdir/target/config/Config.in.prereq fi +if [ $host_build_rsync -eq 1 ]; then + printf "\t%s\n" "select ADK_HOST_BUILD_RSYNC" >> $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 -- cgit v1.2.3