[coreboot] r4006 - trunk/coreboot-v2/util/abuild
svn at coreboot.org
svn at coreboot.org
Sun Mar 15 10:55:17 CET 2009
Author: stepan
Date: 2009-03-15 10:55:17 +0100 (Sun, 15 Mar 2009)
New Revision: 4006
Modified:
trunk/coreboot-v2/util/abuild/abuild
Log:
abuild: Don't forget CROSS_COMPILE anymore.
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/coreboot-v2/util/abuild/abuild
===================================================================
--- trunk/coreboot-v2/util/abuild/abuild 2009-03-14 16:33:22 UTC (rev 4005)
+++ trunk/coreboot-v2/util/abuild/abuild 2009-03-15 09:55:17 UTC (rev 4006)
@@ -394,7 +394,7 @@
return 0
else
- printf " ($TARCH: ok, we're $ARCH)\n"
+ printf " ($TARCH: ok, we're $ARCH with a ${CROSS_COMPILE} cross compiler)\n"
xml " <compiler>"
xml " <path>`which ${CROSS_COMPILE}gcc`</path>"
xml " <version>`${CROSS_COMPILE}gcc --version | head -1`</version>"
@@ -403,6 +403,8 @@
fi
fi
+ CC=${CROSS_COMPILE}$CC
+
if [ "$stackprotect" = "true" ]; then
CC="$CC -fno-stack-protector"
fi
More information about the coreboot
mailing list