summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb')
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb
new file mode 100644
index 0000000000..8af407f6e0
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.23.2.bb
@@ -0,0 +1,11 @@
+require binutils-cross_${PV}.bb
+
+inherit crosssdk
+
+PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
+
+SRC_URI += "file://relocatable_sdk.patch"
+
+do_configure_prepend () {
+ sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
+}