# HG changeset patch # User Rob Landley # Date 1228716877 21600 # Node ID 9e692a87a76358db38c941c97407ef97d4c1101a # Parent ad14395e1f0c2ed7816f159a680d4421085cdbc9 Fix bug Milton Miller spotted: overriding CROSS_TARGET in config confuses the distcc build. diff -r ad14395e1f0c -r 9e692a87a763 mini-native.sh --- 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