diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-20 08:18:38 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-21 13:03:04 +0100 |
commit | e146139b42460e20db9749e8fdebd14db8513034 (patch) | |
tree | 7ce6194fc2ecbae8502c1abb35725c6731f0d173 /meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb | |
parent | be9756ae12c7ea4629943bf59f30f0c8330a2056 (diff) | |
download | poky-e146139b42460e20db9749e8fdebd14db8513034.tar.gz |
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
(From OE-Core rev: f4ed063e32f064e996a4c29760fa4ac49f1ed73c)
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-crosssdk_2.22.bb')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb index 0e8b6e486f..0eb5684e81 100644 --- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb +++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb | |||
@@ -4,9 +4,6 @@ inherit crosssdk | |||
4 | 4 | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" | 5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" |
6 | 6 | ||
7 | PR = "r2" | ||
8 | |||
9 | do_configure_prepend () { | 7 | do_configure_prepend () { |
10 | sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt | 8 | sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt |
11 | } | 9 | } |
12 | |||