Pull the uclibc binutils bits over to binutils/ where they belong.
authorChris Larson <clarson@kergoth.com>
Thu, 2 Oct 2003 18:18:30 +0000 (18:18 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 2 Oct 2003 18:18:30 +0000 (18:18 +0000)
BKrev: 3f7c6bf6yR1nneucpO0AotAgR2qLDw

binutils/binutils-2.14.90.0.6.oe
binutils/binutils-uclibc-2.14.90.0.6.oe [new file with mode: 0644]
binutils/binutils-uclibc-cross-2.14.90.0.6.oe [new file with mode: 0644]

index 05104b3..5af9757 100644 (file)
@@ -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 (file)
index 0000000..e69de29
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 (file)
index 0000000..e69de29