diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-09-10 19:22:46 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-09-10 19:26:09 -0700 |
commit | 01407868c7671f8f5afdf8e29ee0315e16bef059 (patch) | |
tree | 62c704553ea6cc168b8bb5be8c59562983d27c8b /recipes | |
parent | 8050c52cb58da79cb2849f34905fbcfa64fbf58b (diff) |
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@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | 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 aa4174edc4..b526ff3cc4 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}" } |