diff options
author | Chris Larson <clarson@kergoth.com> | 2004-03-24 15:18:35 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-03-24 15:18:35 +0000 |
commit | 19ff97c49f5e4b11eb395ce5e7b6a9a51171cdec (patch) | |
tree | 3797eff5681f7b7188f4e315c2b05fcd936f57e8 /binutils/binutils-uclibc_2.15.90.0.1.oe | |
parent | 85b9c66123293478a0618e3ba230adc266c85eea (diff) |
Another pass of cleanups...
..cheated and made the parser temporarily more picky to spot the packages that need cleaning.
BKrev: 4061a6cbKWfvpS3a5Dml4UNIp_LkNQ
Diffstat (limited to 'binutils/binutils-uclibc_2.15.90.0.1.oe')
-rw-r--r-- | binutils/binutils-uclibc_2.15.90.0.1.oe | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils/binutils-uclibc_2.15.90.0.1.oe b/binutils/binutils-uclibc_2.15.90.0.1.oe index e69de29bb2..dc68bfdf21 100644 --- a/binutils/binutils-uclibc_2.15.90.0.1.oe +++ b/binutils/binutils-uclibc_2.15.90.0.1.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) +} + |