aboutsummaryrefslogtreecommitdiff
path: root/toolchain-layer/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-layer/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb')
-rw-r--r--toolchain-layer/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb b/toolchain-layer/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb
new file mode 100644
index 0000000..88627f8
--- /dev/null
+++ b/toolchain-layer/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb
@@ -0,0 +1,12 @@
+require binutils-cross_${PV}.bb
+
+inherit crosssdk
+
+PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
+
+PR = "r4"
+
+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
+}
+