diff options
-rw-r--r-- | meta/packages/glibc/glibc-initial_2.4.bb | 1 | ||||
-rw-r--r-- | meta/packages/glibc/glibc.inc | 17 | ||||
-rw-r--r-- | meta/packages/glibc/glibc_2.3.5+cvs20050627.bb | 17 | ||||
-rw-r--r-- | meta/packages/glibc/glibc_2.4.bb | 19 | ||||
-rw-r--r-- | meta/packages/glibc/glibc_2.5.bb | 11 | ||||
-rw-r--r-- | meta/packages/glibc/glibc_csl-2005q3-2.bb | 17 |
6 files changed, 22 insertions, 60 deletions
diff --git a/meta/packages/glibc/glibc-initial_2.4.bb b/meta/packages/glibc/glibc-initial_2.4.bb index d3dc4b587a..fa7836ad88 100644 --- a/meta/packages/glibc/glibc-initial_2.4.bb +++ b/meta/packages/glibc/glibc-initial_2.4.bb | |||
@@ -1,3 +1,2 @@ | |||
1 | require glibc_${PV}.bb | 1 | require glibc_${PV}.bb |
2 | require glibc-initial.inc | 2 | require glibc-initial.inc |
3 | |||
diff --git a/meta/packages/glibc/glibc.inc b/meta/packages/glibc/glibc.inc index 4d70e77850..9145a2d4d7 100644 --- a/meta/packages/glibc/glibc.inc +++ b/meta/packages/glibc/glibc.inc | |||
@@ -1,3 +1,20 @@ | |||
1 | DESCRIPTION = "GNU C Library" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "required" | ||
5 | LICENSE = "LGPL" | ||
6 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
7 | DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" | ||
8 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
9 | #this leads to circular deps, so lets not add it yet | ||
10 | #RDEPENDS_ldd += " bash" | ||
11 | PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}" | ||
12 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
13 | |||
14 | inherit autotools | ||
15 | |||
16 | GLIBC_EXTRA_OECONF ?= "" | ||
17 | INHIBIT_DEFAULT_DEPS = "1" | ||
1 | 18 | ||
2 | do_rig_locales() { | 19 | do_rig_locales() { |
3 | # If indicated, only build a limited selection of locales | 20 | # If indicated, only build a limited selection of locales |
diff --git a/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb b/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb index 242274b609..11a28cba6c 100644 --- a/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb | |||
@@ -1,15 +1,10 @@ | |||
1 | DESCRIPTION = "GNU C Library" | 1 | require glibc.inc |
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | ||
3 | LICENSE = "LGPL" | ||
4 | SECTION = "libs" | ||
5 | PRIORITY = "required" | ||
6 | 2 | ||
7 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5" | 3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5" |
8 | SRCDATE = "20050627" | 4 | SRCDATE = "20050627" |
9 | PR = "r4" | 5 | PR = "r4" |
10 | 6 | ||
11 | GLIBC_ADDONS ?= "ports,linuxthreads" | 7 | GLIBC_ADDONS ?= "ports,linuxthreads" |
12 | GLIBC_EXTRA_OECONF ?= "" | ||
13 | 8 | ||
14 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN" | 9 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN" |
15 | 10 | ||
@@ -29,13 +24,6 @@ python __anonymous () { | |||
29 | bb.data.getVar('TARGET_OS', d, 1)) | 24 | bb.data.getVar('TARGET_OS', d, 1)) |
30 | } | 25 | } |
31 | 26 | ||
32 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
33 | PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}" | ||
34 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
35 | DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" | ||
36 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
37 | INHIBIT_DEFAULT_DEPS = "1" | ||
38 | |||
39 | # file://noinfo.patch;patch=1 | 27 | # file://noinfo.patch;patch=1 |
40 | # file://ldconfig.patch;patch=1;pnum=0 | 28 | # file://ldconfig.patch;patch=1;pnum=0 |
41 | # file://arm-machine-gmon.patch;patch=1;pnum=0 \ | 29 | # file://arm-machine-gmon.patch;patch=1;pnum=0 \ |
@@ -62,8 +50,6 @@ SRC_URI_append_arm = " file://dyn-ldconfig-20041128.patch;patch=1" | |||
62 | S = "${WORKDIR}/libc" | 50 | S = "${WORKDIR}/libc" |
63 | B = "${WORKDIR}/build-${TARGET_SYS}" | 51 | B = "${WORKDIR}/build-${TARGET_SYS}" |
64 | 52 | ||
65 | inherit autotools | ||
66 | |||
67 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | 53 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ |
68 | --without-cvs --disable-profile --disable-debug --without-gd \ | 54 | --without-cvs --disable-profile --disable-debug --without-gd \ |
69 | --enable-clocale=gnu \ | 55 | --enable-clocale=gnu \ |
@@ -122,4 +108,3 @@ do_compile () { | |||
122 | require glibc-stage.inc | 108 | require glibc-stage.inc |
123 | 109 | ||
124 | require glibc-package.bbclass | 110 | require glibc-package.bbclass |
125 | include glibc.inc | ||
diff --git a/meta/packages/glibc/glibc_2.4.bb b/meta/packages/glibc/glibc_2.4.bb index a8e6f740ad..95b2b99853 100644 --- a/meta/packages/glibc/glibc_2.4.bb +++ b/meta/packages/glibc/glibc_2.4.bb | |||
@@ -1,20 +1,14 @@ | |||
1 | DESCRIPTION = "GNU C Library" | 1 | require glibc.inc |
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | 2 | |
3 | LICENSE = "LGPL" | ||
4 | SECTION = "libs" | ||
5 | PRIORITY = "required" | ||
6 | # DEFAULT_PREFERENCE = "-1" | ||
7 | PR = "r11" | 3 | PR = "r11" |
8 | 4 | ||
9 | # the -isystem in bitbake.conf screws up glibc do_stage | 5 | # the -isystem in bitbake.conf screws up glibc do_stage |
10 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 6 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
11 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" | 7 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" |
12 | 8 | ||
13 | |||
14 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" | 9 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" |
15 | 10 | ||
16 | GLIBC_ADDONS ?= "ports,nptl,libidn" | 11 | GLIBC_ADDONS ?= "ports,nptl,libidn" |
17 | GLIBC_EXTRA_OECONF ?= "" | ||
18 | 12 | ||
19 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN" | 13 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN" |
20 | 14 | ||
@@ -34,13 +28,6 @@ python __anonymous () { | |||
34 | bb.data.getVar('TARGET_OS', d, 1)) | 28 | bb.data.getVar('TARGET_OS', d, 1)) |
35 | } | 29 | } |
36 | 30 | ||
37 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
38 | PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}" | ||
39 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
40 | DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" | ||
41 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
42 | INHIBIT_DEFAULT_DEPS = "1" | ||
43 | |||
44 | # file://noinfo.patch;patch=1 | 31 | # file://noinfo.patch;patch=1 |
45 | # file://ldconfig.patch;patch=1;pnum=0 | 32 | # file://ldconfig.patch;patch=1;pnum=0 |
46 | # file://arm-machine-gmon.patch;patch=1;pnum=0 \ | 33 | # file://arm-machine-gmon.patch;patch=1;pnum=0 \ |
@@ -73,8 +60,6 @@ SRC_URI_append_sh4 = " file://no-z-defs.patch;patch=1" | |||
73 | S = "${WORKDIR}/glibc-2.4" | 60 | S = "${WORKDIR}/glibc-2.4" |
74 | B = "${WORKDIR}/build-${TARGET_SYS}" | 61 | B = "${WORKDIR}/build-${TARGET_SYS}" |
75 | 62 | ||
76 | inherit autotools | ||
77 | |||
78 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | 63 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ |
79 | --without-cvs --disable-profile --disable-debug --without-gd \ | 64 | --without-cvs --disable-profile --disable-debug --without-gd \ |
80 | --enable-clocale=gnu \ | 65 | --enable-clocale=gnu \ |
diff --git a/meta/packages/glibc/glibc_2.5.bb b/meta/packages/glibc/glibc_2.5.bb index ccac98fcae..e40993909d 100644 --- a/meta/packages/glibc/glibc_2.5.bb +++ b/meta/packages/glibc/glibc_2.5.bb | |||
@@ -6,11 +6,9 @@ PR = "r5" | |||
6 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" | 6 | BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" |
7 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" | 7 | TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" |
8 | 8 | ||
9 | |||
10 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" | 9 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-2.4" |
11 | 10 | ||
12 | GLIBC_ADDONS ?= "ports,nptl,libidn" | 11 | GLIBC_ADDONS ?= "ports,nptl,libidn" |
13 | GLIBC_EXTRA_OECONF ?= "" | ||
14 | 12 | ||
15 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN" | 13 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN" |
16 | 14 | ||
@@ -30,13 +28,6 @@ python __anonymous () { | |||
30 | bb.data.getVar('TARGET_OS', d, 1)) | 28 | bb.data.getVar('TARGET_OS', d, 1)) |
31 | } | 29 | } |
32 | 30 | ||
33 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
34 | PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}" | ||
35 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
36 | DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" | ||
37 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
38 | INHIBIT_DEFAULT_DEPS = "1" | ||
39 | |||
40 | # file://noinfo.patch;patch=1 | 31 | # file://noinfo.patch;patch=1 |
41 | # file://ldconfig.patch;patch=1;pnum=0 | 32 | # file://ldconfig.patch;patch=1;pnum=0 |
42 | # file://arm-machine-gmon.patch;patch=1;pnum=0 \ | 33 | # file://arm-machine-gmon.patch;patch=1;pnum=0 \ |
@@ -74,8 +65,6 @@ SRC_URI_append_powerpc = " file://powerpc-sqrt-hack.diff;patch=1" | |||
74 | S = "${WORKDIR}/glibc-${PV}" | 65 | S = "${WORKDIR}/glibc-${PV}" |
75 | B = "${WORKDIR}/build-${TARGET_SYS}" | 66 | B = "${WORKDIR}/build-${TARGET_SYS}" |
76 | 67 | ||
77 | inherit autotools | ||
78 | |||
79 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | 68 | EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ |
80 | --without-cvs --disable-profile --disable-debug --without-gd \ | 69 | --without-cvs --disable-profile --disable-debug --without-gd \ |
81 | --enable-clocale=gnu \ | 70 | --enable-clocale=gnu \ |
diff --git a/meta/packages/glibc/glibc_csl-2005q3-2.bb b/meta/packages/glibc/glibc_csl-2005q3-2.bb index a28c0b2361..1fff0e1967 100644 --- a/meta/packages/glibc/glibc_csl-2005q3-2.bb +++ b/meta/packages/glibc/glibc_csl-2005q3-2.bb | |||
@@ -1,8 +1,5 @@ | |||
1 | DESCRIPTION = "GNU C Library" | 1 | require glibc.inc |
2 | HOMEPAGE = "http://www.gnu.org/software/libc/libc.html" | 2 | |
3 | LICENSE = "LGPL" | ||
4 | SECTION = "libs" | ||
5 | PRIORITY = "required" | ||
6 | # DEFAULT_PREFERENCE = "-1" | 3 | # DEFAULT_PREFERENCE = "-1" |
7 | PV = "2.3.6+csl-arm-2005q3-2" | 4 | PV = "2.3.6+csl-arm-2005q3-2" |
8 | PR = "r11" | 5 | PR = "r11" |
@@ -14,7 +11,6 @@ TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}" | |||
14 | FILESDIR = "${FILE_DIRNAME}/files" | 11 | FILESDIR = "${FILE_DIRNAME}/files" |
15 | 12 | ||
16 | GLIBC_ADDONS ?= "nptl,libidn" | 13 | GLIBC_ADDONS ?= "nptl,libidn" |
17 | GLIBC_EXTRA_OECONF ?= "" | ||
18 | 14 | ||
19 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN" | 15 | GLIBC_BROKEN_LOCALES = "sid_ET tr_TR mn_MN gez_ET bn_BD gez_ER te_IN" |
20 | 16 | ||
@@ -34,13 +30,6 @@ python __anonymous () { | |||
34 | bb.data.getVar('TARGET_OS', d, 1)) | 30 | bb.data.getVar('TARGET_OS', d, 1)) |
35 | } | 31 | } |
36 | 32 | ||
37 | # nptl needs unwind support in gcc, which can't be built without glibc. | ||
38 | PROVIDES = "virtual/libc ${@['virtual/${TARGET_PREFIX}libc-for-gcc', '']['nptl' in '${GLIBC_ADDONS}']}" | ||
39 | PROVIDES += "virtual/libintl virtual/libiconv" | ||
40 | DEPENDS = "${@['virtual/${TARGET_PREFIX}gcc-initial', 'virtual/${TARGET_PREFIX}gcc']['nptl' in '${GLIBC_ADDONS}']} linux-libc-headers" | ||
41 | RDEPENDS_${PN}-dev = "" | ||
42 | INHIBIT_DEFAULT_DEPS = "1" | ||
43 | |||
44 | SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2 \ | 33 | SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2 \ |
45 | file://nptl-crosscompile-2.3.6.patch;patch=1 \ | 34 | file://nptl-crosscompile-2.3.6.patch;patch=1 \ |
46 | file://etc/ld.so.conf \ | 35 | file://etc/ld.so.conf \ |
@@ -58,8 +47,6 @@ addtask unpack2 after do_unpack before do_patch | |||
58 | S = "${WORKDIR}/glibc-2.3.5pre" | 47 | S = "${WORKDIR}/glibc-2.3.5pre" |
59 | B = "${WORKDIR}/build-${TARGET_SYS}" | 48 | B = "${WORKDIR}/build-${TARGET_SYS}" |
60 | 49 | ||
61 | inherit autotools | ||
62 | |||
63 | EXTRA_OECONF = "--without-cvs --disable-profile --disable-debug --without-gd \ | 50 | EXTRA_OECONF = "--without-cvs --disable-profile --disable-debug --without-gd \ |
64 | --enable-clocale=gnu \ | 51 | --enable-clocale=gnu \ |
65 | --enable-add-ons \ | 52 | --enable-add-ons \ |