summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Kegel <dank@kegel.com>2020-07-15 15:35:23 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-07-17 15:34:32 +0200
commitdf1e959a8ef1e56576bc962d61632ff4762bdcf9 (patch)
treef10cb00cd18a6cdc3e0494d1f4f8207d99b89e32
parentb3ccf82b825569500e4da0fa04df848649dbd49f (diff)
configure: move config.sub to tools subdir
-rwxr-xr-xconfigure2
-rwxr-xr-xtools/config.sub (renamed from config.sub)0
2 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d9ff825..09b9f73 100755
--- a/configure
+++ b/configure
@@ -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