summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-20 08:18:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-21 12:50:07 +0100
commitf4ed063e32f064e996a4c29760fa4ac49f1ed73c (patch)
tree822f7ed5785aaee318ccd35344f9918f02e13923 /meta/recipes-devtools/binutils/binutils-cross-canadian.inc
parent3c516e1032c86156dc09ffa509977fe197470090 (diff)
downloadopenembedded-core-f4ed063e32f064e996a4c29760fa4ac49f1ed73c.tar.gz
openembedded-core-f4ed063e32f064e996a4c29760fa4ac49f1ed73c.tar.bz2
openembedded-core-f4ed063e32f064e996a4c29760fa4ac49f1ed73c.zip
binutils: Add with-sysroot to target binutils
Also rearrange the recipes to have common bits in inc files and not include the target bb file everywhere. This lets us add specific options to specific recipes particularly target recipe in this case Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index 15b9abb2b0..a23531ca23 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -5,11 +5,8 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
BPN = "binutils"
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
-EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
- --program-prefix=${TARGET_PREFIX} \
- --disable-werror \
- ${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default', '', d)}"
-
+EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
+ "
do_install () {
autotools_do_install