diff options
author | Gerald Britton <gbritton@doomcom.org> | 2004-01-29 05:36:32 +0000 |
---|---|---|
committer | Gerald Britton <gbritton@doomcom.org> | 2004-01-29 05:36:32 +0000 |
commit | 735cbb7842944472dd592b33967144512dbf2d48 (patch) | |
tree | e1e0d7f0711ececcea6c852ae269a3b2580f9bb9 /binutils/binutils-uclibc_2.14.90.0.8.oe | |
parent | 597eca0bde1fc33dbf4a02d1ef43aaaa3c4cc9a8 (diff) |
fix targetting on binutils builds
BKrev: 40189be0k6iiWIC8ZxU34b8uCsjSsw
Diffstat (limited to 'binutils/binutils-uclibc_2.14.90.0.8.oe')
-rw-r--r-- | binutils/binutils-uclibc_2.14.90.0.8.oe | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils/binutils-uclibc_2.14.90.0.8.oe b/binutils/binutils-uclibc_2.14.90.0.8.oe index e69de29bb2..d483a1f71d 100644 --- a/binutils/binutils-uclibc_2.14.90.0.8.oe +++ b/binutils/binutils-uclibc_2.14.90.0.8.oe @@ -0,0 +1,18 @@ +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 *` +} + +python do_patch () { + oe.build.exec_func('base_do_patch', d) + oe.build.exec_func('binutilsbuild_do_patch', d) +} + |