summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d9ff825633..09b9f73ff5 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 3d50a16f86..3d50a16f86 100755
--- a/config.sub
+++ b/tools/config.sub