[coreboot-gerrit] New patch to review for coreboot: buildgcc: Drop --target from python and expat
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Fri Apr 22 04:31:07 CEST 2016
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14464
-gerrit
commit 5e24e84b67b0130099f0587efa788f03c5310035
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Thu Apr 21 19:29:51 2016 -0700
buildgcc: Drop --target from python and expat
Both packages are not using the target architecture. Drop it,
and remove them from package_uses_targetarch
Change-Id: I58efde4cb7cc39e7e3c31527eb7682e318928100
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
util/crossgcc/buildgcc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index e9ce774..c138473 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -289,8 +289,7 @@ is_package_enabled()
package_uses_targetarch()
{
- if [ "$1" = "GCC" ] || [ "$1" = "GDB" ] || [ "$1" = "BINUTILS" ] || \
- [ "$1" = "PYTHON" ] || [ "$1" = "EXPAT" ]; then
+ if [ "$1" = "GCC" ] || [ "$1" = "GDB" ] || [ "$1" = "BINUTILS" ]; then
true
else
false
@@ -511,7 +510,7 @@ build_GCC() {
build_EXPAT() {
CC="$CC" CFLAGS="$HOSTCFLAGS" ../${EXPAT_DIR}/configure --disable-shared \
- --prefix=$TARGETDIR --target=${TARGETARCH} || touch .failed
+ --prefix=$TARGETDIR || touch .failed
$MAKE || touch .failed
$MAKE install DESTDIR=$DESTDIR || touch .failed
@@ -520,7 +519,7 @@ build_EXPAT() {
build_PYTHON() {
CC="$CC" CFLAGS="$HOSTCFLAGS" ../${PYTHON_DIR}/configure --prefix=$TARGETDIR \
- --target=${TARGETARCH} || touch .failed
+ || touch .failed
$MAKE $JOBS || touch .failed
$MAKE install DESTDIR=$DESTDIR || touch .failed
More information about the coreboot-gerrit
mailing list