summaryrefslogtreecommitdiff
path: root/packages/binutils/binutils_2.16.bb
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-09-07 16:56:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-07 16:56:38 +0000
commitc9138fb90537550373f8873469af0ab74c32c965 (patch)
tree4e5cb6b35219760be4770763350c45a94a9a352f /packages/binutils/binutils_2.16.bb
parent2341028888795de208d7a4ade232e74ff8fdac83 (diff)
binutils: patch 2.16 for uclibc, enable 2.16 on uclibc builds
2.16 now includes the patches which ensure that HOST_CC_ARCH is passed to the build, other than that this commit should only affect binutils for linux-uclibc targets. The patches which enable recognition of linux-uclibc*' as well as 'linux-gnu*' have integrated - in fact there are more places now where the change is made, which may improve some things. The apparently spurious 'autoreconf' of certain subdirectories in the build tree has been commented out (it did nothing because there is no configure.in or .am in the build directory).
Diffstat (limited to 'packages/binutils/binutils_2.16.bb')
-rw-r--r--packages/binutils/binutils_2.16.bb24
1 files changed, 14 insertions, 10 deletions
diff --git a/packages/binutils/binutils_2.16.bb b/packages/binutils/binutils_2.16.bb
index bb280f0fb5..046f2c15c7 100644
--- a/packages/binutils/binutils_2.16.bb
+++ b/packages/binutils/binutils_2.16.bb
@@ -3,9 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
SECTION = "devel"
LICENSE = "GPL"
MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r1"
-
-DEFAULT_PREFERENCE_linux-uclibc = "-1"
+PR = "r2"
SRC_URI = \
"http://ftp.gnu.org/gnu/binutils/binutils-${PV}.tar.bz2 \
@@ -13,16 +11,22 @@ SRC_URI = \
file://better_file_error.patch;patch=1 \
file://signed_char_fix.patch;patch=1 \
file://binutils-100_cflags_for_build.patch;patch=1"
-# bit-rotten uclibc patches not yet updated to this version:
-# file://binutils-2.15.91.0.1-uclibc-100-conf.patch;patch=1
-# file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1
+
+# uclibc patches
+SRC_URI += "file://binutils-2.16-linux-uclibc.patch;patch=1"
+
+#to be removed:
+# this patch does not seem to do anything any longer
+#SRC_URI += "file://binutils-2.15.90.0.3-uclibc-200-build_modules.patch;patch=1"
S = "${WORKDIR}/binutils-${PV}"
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
include binutils.inc
-do_configure_prepend() {
- for dir in bfd gas ld; do ( cd $dir; autoreconf ); done
-}
-
+#to be removed:
+# This was not doing anything because it used the ${B} directory and there
+# was no configure.ac or configure.in in there.
+#do_configure_prepend() {
+# for dir in bfd gas ld; do ( cd $dir; autoreconf ); done
+#}