glibc 2.5: remove some hardcoded references
authorKoen Kooi <koen@openembedded.org>
Wed, 11 Oct 2006 13:12:22 +0000 (13:12 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 11 Oct 2006 13:12:22 +0000 (13:12 +0000)
glibc-intermediate 2.5: add it

packages/glibc/glibc-intermediate_2.5.bb [new file with mode: 0644]
packages/glibc/glibc_2.5.bb

diff --git a/packages/glibc/glibc-intermediate_2.5.bb b/packages/glibc/glibc-intermediate_2.5.bb
new file mode 100644 (file)
index 0000000..7f34af2
--- /dev/null
@@ -0,0 +1,18 @@
+require glibc_${PV}.bb
+
+do_install () {
+       :
+}
+
+# gcc uses -Werror which break on a "you have no thumb interwork" _warning_
+do_configure_prepend() {
+       sed -i s:-Werror:: ${S}/configure
+}
+
+
+
+PACKAGES = ""
+PROVIDES = "virtual/${TARGET_PREFIX}libc-for-gcc"
+DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers"
+GLIBC_ADDONS = "nptl,ports"
+GLIBC_EXTRA_OECONF = ""
index 4308d69..a76f177 100644 (file)
@@ -48,9 +48,9 @@ INHIBIT_DEFAULT_DEPS = "1"
 #         \
 #         file://arm-ioperm.patch;patch=1;pnum=0 \
 #         file://ldd.patch;patch=1;pnum=0 \
-SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.5.tar.bz2 \
-          ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-2.5.tar.bz2 \
-          ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-2.5.tar.bz2 \
+SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
+          ftp://ftp.gnu.org/pub/gnu/glibc/glibc-ports-${PV}.tar.bz2 \
+          ftp://ftp.gnu.org/pub/gnu/glibc/glibc-libidn-${PV}.tar.bz2 \
            file://arm-memcpy.patch;patch=1 \
            file://arm-longlong.patch;patch=1 \
            file://fhs-linux-paths.patch;patch=1 \
@@ -73,7 +73,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.5.tar.bz2 \
 SRC_URI_append_sh3 = " file://no-z-defs.patch;patch=1"
 SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1"
 
-S = "${WORKDIR}/glibc-2.5"
+S = "${WORKDIR}/glibc-${PV}"
 B = "${WORKDIR}/build-${TARGET_SYS}"
 
 inherit autotools