diff options
-rw-r--r-- | scripts/scan-tools.sh | 7 | ||||
-rw-r--r-- | target/config/Config.in.tools | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index f5d101d6e..119a7a6bd 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -245,6 +245,12 @@ if ! which m4 >/dev/null 2>&1; then host_build_m4=1 fi +host_build_pkgconf=0 +if ! which pkgconf >/dev/null 2>&1; then + echo "No pkgconf found, will build one." + host_build_pkgconf=1 +fi + host_build_xz=0 if ! which xz >/dev/null 2>&1; then echo "No xz found, will build one." @@ -281,6 +287,7 @@ if [ $host_build_bzip2 -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_BZIP2 if [ $host_build_file -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_FILE" >> $topdir/target/config/Config.in.prereq ;fi if [ $host_build_flex -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_FLEX" >> $topdir/target/config/Config.in.prereq ;fi if [ $host_build_m4 -eq 1 ];then printf "\t%s\n" "select ADK_HOST_BUILD_M4" >> $topdir/target/config/Config.in.prereq ;fi +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_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 diff --git a/target/config/Config.in.tools b/target/config/Config.in.tools index 0e7816fca..6f2cdab88 100644 --- a/target/config/Config.in.tools +++ b/target/config/Config.in.tools @@ -36,6 +36,10 @@ config ADK_HOST_BUILD_M4 boolean default n +config ADK_HOST_BUILD_PKGCONF + boolean + default n + config ADK_HOST_BUILD_XZ boolean default n |