Jacob Garber has uploaded this change for review.

View Change

xcompile: Use GCC wrappers for ar, nm

These wrappers provide the path to the plugin that ar and nm need to
understand LTO object files.

Change-Id: Ibdae4faabf67bf6a4bb8c38970f6189646ee74b3
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
---
M util/xcompile/xcompile
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/38290/1
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index cc4641e..987789f 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -294,12 +294,12 @@
fi # if [ "${TARCH}" = "arm64" ]...

cat <<EOF
-NM_${TARCH}:=${GCCPREFIX}nm
+NM_${TARCH}:=${GCCPREFIX}gcc-nm
OBJCOPY_${TARCH}:=${GCCPREFIX}objcopy
OBJDUMP_${TARCH}:=${GCCPREFIX}objdump
READELF_${TARCH}:=${GCCPREFIX}readelf
STRIP_${TARCH}:=${GCCPREFIX}strip
-AR_${TARCH}:=${GCCPREFIX}ar
+AR_${TARCH}:=${GCCPREFIX}gcc-ar
GNATBIND_${TARCH}:=${GCCPREFIX}gnatbind
CROSS_COMPILE_${TARCH}:=${GCCPREFIX}


To view, visit change 38290. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibdae4faabf67bf6a4bb8c38970f6189646ee74b3
Gerrit-Change-Number: 38290
Gerrit-PatchSet: 1
Gerrit-Owner: Jacob Garber <jgarber1@ualberta.ca>
Gerrit-MessageType: newchange