changeset 527:9e692a87a763

Fix bug Milton Miller spotted: overriding CROSS_TARGET in config confuses the distcc build.
author Rob Landley <rob@landley.net>
date Mon, 08 Dec 2008 00:14:37 -0600
parents ad14395e1f0c
children 71f438cde285
files mini-native.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mini-native.sh	Mon Dec 08 00:13:49 2008 -0600
+++ b/mini-native.sh	Mon Dec 08 00:14:37 2008 -0600
@@ -61,7 +61,7 @@
   CONFIGFILE=miniconfig-uClibc
   BUILDIT="install -j $CPUS"
 fi
-make CROSS="${ARCH}=" KCONFIG_ALLCONFIG="${CONFIG_DIR}"/$CONFIGFILE allnoconfig &&
+make CROSS="${ARCH}-" KCONFIG_ALLCONFIG="${CONFIG_DIR}"/$CONFIGFILE allnoconfig &&
 cp .config "${TOOLS}"/src/config-uClibc &&
 make CROSS="${ARCH}-" KERNEL_HEADERS="${TOOLS}/include" \
      PREFIX="${UCLIBC_TOPDIR}/" \
@@ -271,7 +271,7 @@
 cleanup bash
 
 setupfor distcc
-./configure --host="${ARCH}" --prefix="${TOOLS}" --with-included-popt &&
+./configure --host="${CROSS_TARGET}" --prefix="${TOOLS}" --with-included-popt &&
 make -j $CPUS &&
 make -j $CPUS install &&
 mkdir -p "${TOOLS}/distcc" || dienow