uclibc: avr32 can not be build with gnuhash-style
authorwoglinde <heinold@inf.fu-berlin.de>
Wed, 26 Nov 2008 23:01:13 +0000 (00:01 +0100)
committerwoglinde <heinold@inf.fu-berlin.de>
Wed, 26 Nov 2008 23:01:13 +0000 (00:01 +0100)
* avr32 uses older binutils not supporting gnuhash-style
* disable it via configmangle in the configure stage
* remove the ldso_hash.patch for avr32
* bump PR

packages/uclibc/uclibc.inc
packages/uclibc/uclibc_0.9.30.bb
packages/uclibc/uclibc_svn.bb

index 9b27e1f..722a36c 100644 (file)
@@ -93,7 +93,10 @@ configmangle = 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE="${KERNEL_SOURCE}",g; \
                s,^SHARED_LIB_LOADER_PATH=.*,SHARED_LIB_LOADER_PATH="/lib",; \
                s,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX="/lib",; \
                s,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g; \
-               ${@["s,.*UCLIBC_HAS_LOCALE.*,# UCLIBC_HAS_LOCALE is not set,;", ""][bb.data.getVar("USE_NLS", d, 1) == "yes"]}'
+               ${@["s,.*UCLIBC_HAS_LOCALE.*,# UCLIBC_HAS_LOCALE is not set,;", ""][bb.data.getVar("USE_NLS", d, 1) == "yes"]} \
+               ${@["","s,.*LDSO_GNU_HASH_SUPPORT.*,# LDSO_GNU_HASH_SUPPORT is not set,;"][bb.data.getVar("TARGET_ARCH", d, 1) == "avr32"]} \
+               '
+
 CFLAGS := "${@oe_filter_out('-I\S+', '${CFLAGS}', d)}"
 
 python () {
index 29d8352..e3155f3 100644 (file)
@@ -7,7 +7,7 @@
 # on whether the base patches apply to the selected (SRCDATE) svn release.
 #
 UCLIBC_BASE ?= "0.9.30"
-PR = "r1"
+PR = "r2"
 DEFAULT_PREFERENCE = "1"
 
 require uclibc.inc
@@ -20,7 +20,6 @@ SRC_URI += "file://uClibc.machine file://uClibc.distro \
           "
 SRC_URI_append_arm = " file://ldso_hash.patch;patch=1 "
 SRC_URI_append_armeb = " file://ldso_hash.patch;patch=1 "
-SRC_URI_append_avr32 = " file://ldso_hash.patch;patch=1 "
 
 #recent versions uclibc require real kernel headers
 PACKAGE_ARCH = "${MACHINE_ARCH}"
index de6116a..080ca60 100644 (file)
@@ -36,6 +36,5 @@ SRC_URI += "svn://uclibc.org/trunk;module=uClibc \
        "
 SRC_URI_append_arm = " file://ldso_hash.patch;patch=1 "
 SRC_URI_append_armeb = " file://ldso_hash.patch;patch=1 "
-SRC_URI_append_avr32 = " file://ldso_hash_arm.patch;patch=1 "
 
 S = "${WORKDIR}/uClibc"