[oe-commits] Khem Raj : gcc-configure-cross.inc: Export more binutils
git version control
git at git.openembedded.org
Fri Sep 11 02:26:15 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 01407868c7671f8f5afdf8e29ee0315e16bef059
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=01407868c7671f8f5afdf8e29ee0315e16bef059
Author: Khem Raj <raj.khem at gmail.com>
Date: Thu Sep 10 19:22:46 2009 -0700
gcc-configure-cross.inc: Export more binutils
* Export AS_FOR_TARGET OBJDUMP_FOR_TARGET
OBJCOPY_FOR_TARGET STRIP_FOR_TARGET
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/gcc/gcc-configure-cross.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/recipes/gcc/gcc-configure-cross.inc b/recipes/gcc/gcc-configure-cross.inc
index aa4174e..b526ff3 100644
--- a/recipes/gcc/gcc-configure-cross.inc
+++ b/recipes/gcc/gcc-configure-cross.inc
@@ -7,12 +7,16 @@ EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix}
--with-sysroot=${STAGING_DIR_TARGET} \
--with-build-sysroot=${STAGING_DIR_TARGET}"
-do_compile_prepend () {
+do_configure_prepend () {
export CC="${BUILD_CC}"
export AR_FOR_TARGET="${TARGET_SYS}-ar"
+ export AS_FOR_TARGET="${TARGET_SYS}-as"
export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
export LD_FOR_TARGET="${TARGET_SYS}-ld"
export NM_FOR_TARGET="${TARGET_SYS}-nm"
+ export OBJDUMP_FOR_TARGET="${TARGET_SYS}-objdump"
+ export OBJCOPY_FOR_TARGET="${TARGET_SYS}-objcopy"
+ export STRIP_FOR_TARGET="${TARGET_SYS}-strip"
export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}"
}
More information about the Openembedded-commits
mailing list