aboutsummaryrefslogtreecommitdiffstats
path: root/binutils
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-02 18:18:30 +0000
committerChris Larson <clarson@kergoth.com>2003-10-02 18:18:30 +0000
commit09cf809a84d8d16ac52bb4c1452826be6e1d6a51 (patch)
treefdf99d9e6f2870a1cc388d2158bf7b96dd8d8f6e /binutils
parentd49aa9766caec96de5771384f8bbd8cec97972bf (diff)
downloadopenembedded-09cf809a84d8d16ac52bb4c1452826be6e1d6a51.tar.gz
Pull the uclibc binutils bits over to binutils/ where they belong.
BKrev: 3f7c6bf6yR1nneucpO0AotAgR2qLDw
Diffstat (limited to 'binutils')
-rw-r--r--binutils/binutils-2.14.90.0.6.oe18
-rw-r--r--binutils/binutils-uclibc-2.14.90.0.6.oe0
-rw-r--r--binutils/binutils-uclibc-cross-2.14.90.0.6.oe0
3 files changed, 14 insertions, 4 deletions
diff --git a/binutils/binutils-2.14.90.0.6.oe b/binutils/binutils-2.14.90.0.6.oe
index 05104b37b7..5af975741f 100644
--- a/binutils/binutils-2.14.90.0.6.oe
+++ b/binutils/binutils-2.14.90.0.6.oe
@@ -50,13 +50,23 @@ export CC_FOR_BUILD = ${BUILD_CC}
export CC = ${CCACHE} ${CROSS}gcc
+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)
+}
+
do_install_append () {
cd ${D}/${bindir}
# Symlinks for if this is intended to be the only compiler
(
- for p in ${TARGET_SYS}-* ; do
- ln -s $p `echo $p | sed -e s,${TARGET_SYS}-,,`
- done
- true
+ for p in ${TARGET_SYS}-* ; do
+ ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
+ done
+ true
)
}
diff --git a/binutils/binutils-uclibc-2.14.90.0.6.oe b/binutils/binutils-uclibc-2.14.90.0.6.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/binutils/binutils-uclibc-2.14.90.0.6.oe
diff --git a/binutils/binutils-uclibc-cross-2.14.90.0.6.oe b/binutils/binutils-uclibc-cross-2.14.90.0.6.oe
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/binutils/binutils-uclibc-cross-2.14.90.0.6.oe