summaryrefslogtreecommitdiff
path: root/binutils/binutils-uclibc_2.14.90.0.6.oe
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/binutils-uclibc_2.14.90.0.6.oe')
-rw-r--r--binutils/binutils-uclibc_2.14.90.0.6.oe5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/binutils-uclibc_2.14.90.0.6.oe b/binutils/binutils-uclibc_2.14.90.0.6.oe
index 200477d0da..d483a1f71d 100644
--- a/binutils/binutils-uclibc_2.14.90.0.6.oe
+++ b/binutils/binutils-uclibc_2.14.90.0.6.oe
@@ -1,6 +1,11 @@
include binutils_${PV}.oe
FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/binutils-${PV}
+# This will ONLY build to this target
+TARGET_VENDOR := -uclibc
+TARGET_SYS := ${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}
+TARGET_PREFIX := ${TARGET_SYS}-
+
binutilsbuild_do_patch () {
oenote IN binutils patch
perl -i -p -e 's,#.*define.*ELF_DYNAMIC_INTERPRETER.*".*",#define ELF_DYNAMIC_INTERPRETER "/lib/ld-uClibc.so.0",;' `grep -lr ELF_DYNAMIC_INTERPRETER *`