diff options
author | Dan Kegel <dank@kegel.com> | 2020-07-15 15:35:23 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-07-17 15:34:32 +0200 |
commit | df1e959a8ef1e56576bc962d61632ff4762bdcf9 (patch) | |
tree | f10cb00cd18a6cdc3e0494d1f4f8207d99b89e32 | |
parent | b3ccf82b825569500e4da0fa04df848649dbd49f (diff) |
configure: move config.sub to tools subdir
-rwxr-xr-x | configure | 2 | ||||
-rwxr-xr-x | tools/config.sub (renamed from config.sub) | 0 |
2 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ BUILDDIR=$(pwd) # set command prefix for cross-compilation if [ -n "${CHOST}" ]; then # normalize the chost before parsing it - NORM_CHOST=$(sh "$SRCDIR"/config.sub $CHOST) + NORM_CHOST=$(sh "$SRCDIR"/tools/config.sub $CHOST) uname="$(echo "${NORM_CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)-.*$/\1/')" CROSS_PREFIX="${CHOST}-" ARCH="$(echo "${NORM_CHOST}" | sed -e 's/-.*//')" diff --git a/config.sub b/tools/config.sub index 3d50a16..3d50a16 100755 --- a/config.sub +++ b/tools/config.sub |