diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-17 02:48:09 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-17 02:48:09 -0800 |
commit | 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e (patch) | |
tree | 9eb19260dd694fa6b4852c46e3f0a93939db9a24 /scripts/build/libc/musl.sh | |
parent | 6ac8e31a519f41af7838bb5261e0fe989fb428bd (diff) | |
download | crosstool-ng-6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.tar.gz crosstool-ng-6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.tar.bz2 crosstool-ng-6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e.zip |
consistency: Use exported variables of required tools
We check for apps:
* make
* sed
* grep
* awk
* libtool/libtoolize
* install
* patch
* and more
...during configure. Our scripts should be consistent about using the
variables that define where the found tool was found.
Of course, we do hard-link these tools in buildtools, but that should be
a backup for the components we are building. Our scripts should always
use the tools we find.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/build/libc/musl.sh')
-rw-r--r-- | scripts/build/libc/musl.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/libc/musl.sh b/scripts/build/libc/musl.sh index 81a19d72..f8f135c1 100644 --- a/scripts/build/libc/musl.sh +++ b/scripts/build/libc/musl.sh @@ -84,9 +84,9 @@ do_libc_start_files() { do_libc_configure CT_DoLog EXTRA "Installing headers" - CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install-headers + CT_DoExecLog ALL ${make} DESTDIR="${CT_SYSROOT_DIR}" install-headers - CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" \ + CT_DoExecLog ALL ${make} DESTDIR="${CT_SYSROOT_DIR}" \ crt/crt1.o crt/crti.o crt/crtn.o CT_DoExecLog ALL cp -av crt/crt*.o "${CT_SYSROOT_DIR}/usr/lib" CT_DoExecLog ALL ${CT_TARGET}-gcc -nostdlib \ @@ -106,10 +106,10 @@ do_libc() { do_libc_configure CT_DoLog EXTRA "Building C library" - CT_DoExecLog ALL make ${JOBSFLAGS} + CT_DoExecLog ALL ${make} ${JOBSFLAGS} CT_DoLog EXTRA "Installing C library" - CT_DoExecLog ALL make DESTDIR="${CT_SYSROOT_DIR}" install + CT_DoExecLog ALL ${make} DESTDIR="${CT_SYSROOT_DIR}" install CT_EndStep } |