summaryrefslogtreecommitdiff
path: root/scripts/build/libc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-25 08:06:28 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-25 08:06:28 (GMT)
commit7186e39f326150371b7909e2a938fe573f05cda1 (patch)
tree833b2eec8f8c1eaf0e29bf35f94ab94626b2d712 /scripts/build/libc
parentb5d0e396d9ad0c886ab487bd26776bda92e5f40c (diff)
Run all configure scripts using ${CONFIG_SHELL}
... as its help message says in menuconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r--scripts/build/libc/avr-libc.sh1
-rw-r--r--scripts/build/libc/glibc.sh1
-rw-r--r--scripts/build/libc/mingw.sh4
-rw-r--r--scripts/build/libc/musl.sh1
-rw-r--r--scripts/build/libc/newlib.sh1
5 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build/libc/avr-libc.sh b/scripts/build/libc/avr-libc.sh
index 431e876..f94b601 100644
--- a/scripts/build/libc/avr-libc.sh
+++ b/scripts/build/libc/avr-libc.sh
@@ -22,6 +22,7 @@ do_libc_configure() {
CT_DoLog EXTRA "Configuring C library"
CT_DoExecLog CFG \
+ ${CONFIG_SHELL} \
./configure \
--build=${CT_BUILD} \
--host=${CT_TARGET} \
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index bce4cb8..c514cb7 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -502,6 +502,7 @@ do_libc_locales() {
CT_DoExecLog CFG \
CFLAGS="${glibc_cflags}" \
+ ${CONFIG_SHELL} \
"${src_dir}/configure" \
--prefix=/usr \
--cache-file="$(pwd)/config.cache" \
diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh
index fddf1f7..eb04cb6 100644
--- a/scripts/build/libc/mingw.sh
+++ b/scripts/build/libc/mingw.sh
@@ -48,6 +48,7 @@ do_libc_start_files() {
do_set_mingw_install_prefix
CT_DoExecLog CFG \
+ ${CONFIG_SHELL} \
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-headers/configure" \
--build=${CT_BUILD} \
--host=${CT_TARGET} \
@@ -93,6 +94,7 @@ do_mingw_tools() {
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-tools/${f}"
CT_DoExecLog CFG \
+ ${CONFIG_SHELL} \
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-tools/${f}/configure" \
--build=${CT_BUILD} \
--host=${CT_HOST} \
@@ -119,6 +121,7 @@ do_libc() {
do_set_mingw_install_prefix
CT_DoExecLog CFG \
+ ${CONFIG_SHELL} \
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-crt/configure" \
--with-sysroot=${CT_SYSROOT_DIR} \
--prefix=${MINGW_INSTALL_PREFIX} \
@@ -158,6 +161,7 @@ do_pthreads() {
CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-winpthreads"
CT_DoExecLog CFG \
+ ${CONFIG_SHELL} \
"${CT_SRC_DIR}/mingw-w64-${CT_WINAPI_VERSION_DOWNLOADED}/mingw-w64-libraries/winpthreads/configure" \
--with-sysroot=${CT_SYSROOT_DIR} \
--prefix=${MINGW_INSTALL_PREFIX} \
diff --git a/scripts/build/libc/musl.sh b/scripts/build/libc/musl.sh
index 3eb0357..9bbd95a 100644
--- a/scripts/build/libc/musl.sh
+++ b/scripts/build/libc/musl.sh
@@ -110,6 +110,7 @@ do_libc_backend_once() {
CT_DoExecLog CFG \
CFLAGS="${extra_cflags[*]}" \
CROSS_COMPILE="${CT_TARGET}-" \
+ ${CONFIG_SHELL} \
${src_dir}/configure \
--host="${multi_target}" \
--target="${multi_target}" \
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
index 0c0c2aa..3b48507 100644
--- a/scripts/build/libc/newlib.sh
+++ b/scripts/build/libc/newlib.sh
@@ -130,6 +130,7 @@ ENABLE_TARGET_OPTSPACE:target-optspace
CFLAGS_FOR_TARGET="${cflags_for_target}" \
AR_FOR_TARGET="`which ${CT_TARGET}-gcc-ar`" \
RANLIB_FOR_TARGET="`which ${CT_TARGET}-gcc-ranlib`" \
+ ${CONFIG_SHELL} \
"${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}/configure" \
--host=${CT_BUILD} \
--target=${CT_TARGET} \