summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-06-28 14:36:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 13:30:59 +0100
commitc5274b1d255ffbff82a86a5e29b284688344af38 (patch)
tree97783815e59d2a2a09afbbd6f958138c9d5e590c /meta
parentcc6a65dfd4b818ecd641410f76f054003767f8a1 (diff)
downloadpoky-c5274b1d255ffbff82a86a5e29b284688344af38.tar.gz
uclibc: Separate the bits between uclibc and uclibc-initial
uclibc and uclibc-initial were providing conflicting PROVIDES separate the common bits into logical pieces. Create a common inc file to hold package information and version specific includes so correct logical units can be included in uclibc and uclibc-initial recipes. (From OE-Core rev: bdfd2f6f286889b8920ebf6a670542b26534c1cb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.33.inc21
-rw-r--r--meta/recipes-core/uclibc/uclibc-git.inc23
-rw-r--r--meta/recipes-core/uclibc/uclibc-git/utmp-locking.patch106
-rw-r--r--meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb3
-rw-r--r--meta/recipes-core/uclibc/uclibc-initial_git.bb3
-rw-r--r--meta/recipes-core/uclibc/uclibc-package.inc37
-rw-r--r--meta/recipes-core/uclibc/uclibc.inc59
-rw-r--r--meta/recipes-core/uclibc/uclibc_0.9.33.bb33
-rw-r--r--meta/recipes-core/uclibc/uclibc_git.bb33
9 files changed, 221 insertions, 97 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.33.inc b/meta/recipes-core/uclibc/uclibc-0.9.33.inc
new file mode 100644
index 0000000000..8d03e21859
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-0.9.33.inc
@@ -0,0 +1,21 @@
1SRCREV="7810e4f8027b5c4c8ceec6fefec4eb779362ebb5"
2
3PR = "${INC_PR}.2"
4
5SRC_URI = "git://uclibc.org/uClibc.git;branch=${PV};protocol=git \
6 file://uClibc.machine \
7 file://uClibc.distro \
8 file://uclibc_enable_log2_test.patch \
9 file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch \
10 file://powerpc_copysignl.patch \
11 file://argp-support.patch \
12 file://argp-headers.patch \
13 file://remove_attribute_optimize_Os.patch \
14 file://compile-arm-fork-with-O2.patch \
15 file://uclibc-execvpe.patch \
16 file://orign_path.patch \
17 file://dup3.patch \
18 file://define-MSG_CMSG_CLOEXEC.patch \
19 "
20
21S = "${WORKDIR}/git"
diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc
new file mode 100644
index 0000000000..eac7e75277
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git.inc
@@ -0,0 +1,23 @@
1SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a"
2
3DEFAULT_PREFERENCE = "-1"
4
5PV = "0.9.33+git${SRCPV}"
6PR = "${INC_PR}.1"
7
8FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}"
9
10SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \
11 file://uClibc.machine \
12 file://uClibc.distro \
13 file://uclibc_enable_log2_test.patch \
14 file://powerpc_copysignl.patch \
15 file://argp-support.patch \
16 file://argp-headers.patch \
17 file://remove_attribute_optimize_Os.patch \
18 file://compile-arm-fork-with-O2.patch \
19 file://uclibc-execvpe.patch \
20 file://orign_path.patch \
21 "
22
23S = "${WORKDIR}/git"
diff --git a/meta/recipes-core/uclibc/uclibc-git/utmp-locking.patch b/meta/recipes-core/uclibc/uclibc-git/utmp-locking.patch
new file mode 100644
index 0000000000..85efaf2260
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-git/utmp-locking.patch
@@ -0,0 +1,106 @@
1diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
2index 136ac69..a35bb2b 100644
3--- a/libc/misc/utmp/utent.c
4+++ b/libc/misc/utmp/utent.c
5@@ -34,7 +34,7 @@ static const char default_file_name[] = _PATH_UTMP;
6 static const char *static_ut_name = default_file_name;
7
8 /* This function must be called with the LOCK held */
9-static void __setutent_nolock(void)
10+static void __setutent_unlocked(void)
11 {
12 if (static_fd < 0) {
13 static_fd = open_not_cancel_2(static_ut_name, O_RDWR | O_CLOEXEC);
14@@ -56,12 +56,12 @@ static void __setutent_nolock(void)
15 static void __setutent(void)
16 {
17 __UCLIBC_MUTEX_LOCK(utmplock);
18- __setutent_nolock();
19+ __setutent_unlocked();
20 __UCLIBC_MUTEX_UNLOCK(utmplock);
21 }
22 #else
23 static void __setutent(void);
24-strong_alias(__setutent_nolock,__setutent)
25+strong_alias(__setutent_unlocked,__setutent)
26 #endif
27 strong_alias(__setutent,setutent)
28
29@@ -70,7 +70,7 @@ strong_alias(__setutent,setutxent)
30 #endif
31
32 /* This function must be called with the LOCK held */
33-static struct utmp *__getutent_lock(void)
34+static struct utmp *__getutent_unlocked(void)
35 {
36 if (static_fd < 0) {
37 __setutent();
38@@ -91,13 +91,13 @@ static struct utmp *__getutent(void)
39 struct utmp *ret;
40
41 __UCLIBC_MUTEX_LOCK(utmplock);
42- ret = __getutent_lock();
43+ ret = __getutent_unlocked();
44 __UCLIBC_MUTEX_UNLOCK(utmplock);
45 return ret;
46 }
47 #else
48 static struct utmp *__getutent(void);
49-strong_alias(__getutent_lock,__getutent)
50+strong_alias(__getutent_unlocked,__getutent)
51 #endif
52 strong_alias(__getutent,getutent)
53
54@@ -123,7 +123,7 @@ strong_alias(__endutent,endutxent)
55 #endif
56
57 /* This function must be called with the LOCK held */
58-static struct utmp *__getutid_lock(const struct utmp *utmp_entry)
59+static struct utmp *__getutid_unlocked(const struct utmp *utmp_entry)
60 {
61 struct utmp *lutmp;
62 unsigned type;
63@@ -133,7 +133,7 @@ static struct utmp *__getutid_lock(const struct utmp *utmp_entry)
64 type = utmp_entry->ut_type - 1;
65 type /= 4;
66
67- while ((lutmp = __getutent()) != NULL) {
68+ while ((lutmp = __getutent_unlocked()) != NULL) {
69 if (type == 0 && lutmp->ut_type == utmp_entry->ut_type) {
70 /* one of RUN_LVL, BOOT_TIME, NEW_TIME, OLD_TIME */
71 return lutmp;
72@@ -152,13 +152,13 @@ static struct utmp *__getutid(const struct utmp *utmp_entry)
73 struct utmp *ret;
74
75 __UCLIBC_MUTEX_LOCK(utmplock);
76- ret = __getutid_lock(utmp_entry);
77+ ret = __getutid_unlocked(utmp_entry);
78 __UCLIBC_MUTEX_UNLOCK(utmplock);
79 return ret;
80 }
81 #else
82 static struct utmp *__getutid(const struct utmp *utmp_entry);
83-strong_alias(__getutid_lock,__getutid)
84+strong_alias(__getutid_unlocked,__getutid)
85 #endif
86 strong_alias(__getutid,getutid)
87
88@@ -174,7 +174,7 @@ static struct utmp *__getutline(const struct utmp *utmp_entry)
89 struct utmp *lutmp;
90
91 __UCLIBC_MUTEX_LOCK(utmplock);
92- while ((lutmp = __getutent()) != NULL) {
93+ while ((lutmp = __getutent_unlocked()) != NULL) {
94 if (lutmp->ut_type == USER_PROCESS || lutmp->ut_type == LOGIN_PROCESS) {
95 if (strncmp(lutmp->ut_line, utmp_entry->ut_line, sizeof(lutmp->ut_line)) == 0) {
96 break;
97@@ -200,7 +200,7 @@ static struct utmp *__pututline(const struct utmp *utmp_entry)
98 the file pointer where they want it, everything will work out. */
99 lseek(static_fd, (off_t) - sizeof(struct utmp), SEEK_CUR);
100
101- if (__getutid(utmp_entry) != NULL)
102+ if (__getutid_unlocked(utmp_entry) != NULL)
103 lseek(static_fd, (off_t) - sizeof(struct utmp), SEEK_CUR);
104 else
105 lseek(static_fd, (off_t) 0, SEEK_END);
106
diff --git a/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb b/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
index 234b810074..51afab2766 100644
--- a/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
+++ b/meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb
@@ -1,5 +1,6 @@
1SECTION = "base" 1SECTION = "base"
2require uclibc_${PV}.bb 2require uclibc.inc
3require uclibc-${PV}.inc
3 4
4DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" 5DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial"
5PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" 6PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
diff --git a/meta/recipes-core/uclibc/uclibc-initial_git.bb b/meta/recipes-core/uclibc/uclibc-initial_git.bb
index 8e5c25121b..2226d25372 100644
--- a/meta/recipes-core/uclibc/uclibc-initial_git.bb
+++ b/meta/recipes-core/uclibc/uclibc-initial_git.bb
@@ -1,5 +1,6 @@
1SECTION = "base" 1SECTION = "base"
2require uclibc_git.bb 2require uclibc.inc
3require uclibc-git.inc
3 4
4DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" 5DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial"
5PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" 6PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
diff --git a/meta/recipes-core/uclibc/uclibc-package.inc b/meta/recipes-core/uclibc/uclibc-package.inc
new file mode 100644
index 0000000000..c1815f9a31
--- /dev/null
+++ b/meta/recipes-core/uclibc/uclibc-package.inc
@@ -0,0 +1,37 @@
1# Ensure the uclibc-dev package is processed before uclibc-staticdev to allow
2# *_nonshared.a libraries to be packaged in the uclibc-dev package.
3PACKAGES = "ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db uclibc-argp uclibc-backtrace uclibc-libcrypt uclibc-libintl uclibc-libnsl uclibc-libresolv uclibc-libm uclibc-libdl uclibc-libutil uclibc-libpthread uclibc-librt ${PN}-dbg ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
4
5FILES_uclibc-libcrypt = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so"
6FILES_uclibc-libintl = "${base_libdir}/libintl*.so.* ${base_libdir}/libintl-*.so"
7FILES_uclibc-libnsl = "${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so"
8FILES_uclibc-libresolv = "${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so"
9FILES_uclibc-libm = "${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so"
10FILES_uclibc-libdl = "${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so"
11FILES_uclibc-libutil = "${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so"
12FILES_uclibc-libpthread = "${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so"
13FILES_uclibc-librt = "${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so"
14
15FILES_ldd = "${bindir}/ldd"
16FILES_uclibc-utils = "${bindir} ${sbindir}"
17FILES_uclibc-utils-dbg += "${bindir}/.debug ${sbindir}/.debug"
18FILES_uclibc-gconv = "${libdir}/gconv"
19FILES_uclibc-thread-db = "${base_libdir}/libthread_db*"
20FILES_uclibc-argp = "${base_libdir}/libuargp-*.so ${base_libdir}/libuargp*.so.*"
21FILES_uclibc-backtrace = "${base_libdir}/libubacktrace-*.so ${base_libdir}/libubacktrace*.so.*"
22
23# The last line (gdb and lib1) is for uclinux-uclibc builds
24uclibc_baselibs = "${base_libdir}/ld*.so.* ${base_libdir}/ld*.so \
25 ${base_libdir}/libc*.so.* ${base_libdir}/libuClibc-*.so \
26 ${libdir}/libc.gdb ${libdir}/libc ${base_libdir}/lib1.so \
27 "
28FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}"
29FILES_${PN}-dev += "\
30 ${libdir}/lib*.so \
31 ${libdir}/*_nonshared.a \
32 ${libdir}/[S]*crt[1in].o \
33 ${libdir}/crtreloc*.o \
34 ${includedir}/*.h ${includedir}/*/*.h \
35 "
36FILES_${PN} = "${sysconfdir} ${uclibc_baselibs} /sbin/ldconfig \
37 ${libexecdir} ${datadir}/zoneinfo ${libdir}/locale"
diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc
index 4dae3031df..863bf3a9a5 100644
--- a/meta/recipes-core/uclibc/uclibc.inc
+++ b/meta/recipes-core/uclibc/uclibc.inc
@@ -16,10 +16,8 @@ file://${S}/test/regex/testregex.c;startline=1;endline=31;md5=234efb227d0a40677f
16INC_PR = "r8" 16INC_PR = "r8"
17 17
18require uclibc-config.inc 18require uclibc-config.inc
19STAGINGCC = "gcc-cross-intermediate"
20STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
21PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
22 19
20PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
23TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" 21TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
24 22
25# siteconfig.bbclass runs configure which needs a working compiler 23# siteconfig.bbclass runs configure which needs a working compiler
@@ -40,63 +38,8 @@ sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdi
40# is a uclibc build. 38# is a uclibc build.
41COMPATIBLE_HOST = ".*-uclibc.*" 39COMPATIBLE_HOST = ".*-uclibc.*"
42 40
43PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
44DEPENDS = "virtual/${TARGET_PREFIX}binutils \
45 virtual/${TARGET_PREFIX}gcc-intermediate \
46 linux-libc-headers ncurses-native"
47RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
48
49INHIBIT_DEFAULT_DEPS = "1" 41INHIBIT_DEFAULT_DEPS = "1"
50 42
51# Ensure the uclibc-dev package is processed before uclibc-staticdev to allow
52# *_nonshared.a libraries to be packaged in the uclibc-dev package.
53PACKAGES = "ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db uclibc-argp uclibc-backtrace uclibc-libcrypt uclibc-libintl uclibc-libnsl uclibc-libresolv uclibc-libm uclibc-libdl uclibc-libutil uclibc-libpthread uclibc-librt ${PN}-dbg ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}"
54
55FILES_uclibc-libcrypt = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so"
56FILES_uclibc-libintl = "${base_libdir}/libintl*.so.* ${base_libdir}/libintl-*.so"
57FILES_uclibc-libnsl = "${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so"
58FILES_uclibc-libresolv = "${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so"
59FILES_uclibc-libm = "${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so"
60FILES_uclibc-libdl = "${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so"
61FILES_uclibc-libutil = "${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so"
62FILES_uclibc-libpthread = "${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so"
63FILES_uclibc-librt = "${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so"
64
65FILES_ldd = "${bindir}/ldd"
66FILES_uclibc-utils = "${bindir} ${sbindir}"
67FILES_uclibc-utils-dbg += "${bindir}/.debug ${sbindir}/.debug"
68FILES_uclibc-gconv = "${libdir}/gconv"
69FILES_uclibc-thread-db = "${base_libdir}/libthread_db*"
70FILES_uclibc-argp = "${base_libdir}/libuargp-*.so ${base_libdir}/libuargp*.so.*"
71FILES_uclibc-backtrace = "${base_libdir}/libubacktrace-*.so ${base_libdir}/libubacktrace*.so.*"
72
73# The last line (gdb and lib1) is for uclinux-uclibc builds
74uclibc_baselibs = "${base_libdir}/ld*.so.* ${base_libdir}/ld*.so \
75 ${base_libdir}/libc*.so.* ${base_libdir}/libuClibc-*.so \
76 ${libdir}/libc.gdb ${libdir}/libc ${base_libdir}/lib1.so \
77 "
78FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}"
79FILES_${PN}-dev += "\
80 ${libdir}/lib*.so \
81 ${libdir}/*_nonshared.a \
82 ${libdir}/[S]*crt[1in].o \
83 ${libdir}/crtreloc*.o \
84 ${includedir}/*.h ${includedir}/*/*.h \
85 "
86FILES_${PN} = "${sysconfdir} ${uclibc_baselibs} /sbin/ldconfig \
87 ${libexecdir} ${datadir}/zoneinfo ${libdir}/locale"
88
89RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev"
90# uclibc does not really have libsegfault but then using the one from glibc is also not
91# going to work. So we pretend that we have it to make bitbake not pull other recipes
92# to satisfy this dependency for the images/tasks
93
94RPROVIDES_${PN} += "libsegfault rtld(GNU_HASH)"
95
96SRC_URI = "\
97 http://www.uclibc.org/downloads/uClibc-${PV}.tar.bz2;name=uClibc-${PV} \
98 "
99
100# do_stage barfs on a CC with whitespace, therefore put the 'HOST_CC_ARCH' in 43# do_stage barfs on a CC with whitespace, therefore put the 'HOST_CC_ARCH' in
101# the CFLAGS (when building the utils). 44# the CFLAGS (when building the utils).
102OEMAKE_NO_CC = "'STRIPTOOL=true' 'LD=${LD}'" 45OEMAKE_NO_CC = "'STRIPTOOL=true' 'LD=${LD}'"
diff --git a/meta/recipes-core/uclibc/uclibc_0.9.33.bb b/meta/recipes-core/uclibc/uclibc_0.9.33.bb
index b72f9ddc7c..c8638966bd 100644
--- a/meta/recipes-core/uclibc/uclibc_0.9.33.bb
+++ b/meta/recipes-core/uclibc/uclibc_0.9.33.bb
@@ -1,24 +1,21 @@
1SRCREV="7810e4f8027b5c4c8ceec6fefec4eb779362ebb5" 1SRCREV="7810e4f8027b5c4c8ceec6fefec4eb779362ebb5"
2 2
3require uclibc.inc 3require uclibc.inc
4require uclibc-package.inc
5require uclibc-${PV}.inc
4 6
5PR = "${INC_PR}.2" 7STAGINGCC = "gcc-cross-intermediate"
6PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" 8STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
7 9
8SRC_URI = "git://uclibc.org/uClibc.git;branch=${PV};protocol=git \ 10DEPENDS = "virtual/${TARGET_PREFIX}binutils \
9 file://uClibc.machine \ 11 virtual/${TARGET_PREFIX}gcc-intermediate \
10 file://uClibc.distro \ 12 linux-libc-headers ncurses-native"
11 file://uclibc_enable_log2_test.patch \
12 file://ldso_use_arm_dl_linux_resolve_in_thumb_mode.patch \
13 file://powerpc_copysignl.patch \
14 file://argp-support.patch \
15 file://argp-headers.patch \
16 file://remove_attribute_optimize_Os.patch \
17 file://compile-arm-fork-with-O2.patch \
18 file://uclibc-execvpe.patch \
19 file://orign_path.patch \
20 file://dup3.patch \
21 file://define-MSG_CMSG_CLOEXEC.patch \
22 "
23 13
24S = "${WORKDIR}/git" 14PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
15RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
16RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev"
17# uclibc does not really have libsegfault but then using the one from glibc is also not
18# going to work. So we pretend that we have it to make bitbake not pull other recipes
19# to satisfy this dependency for the images/tasks
20
21RPROVIDES_${PN} += "libsegfault rtld(GNU_HASH)"
diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb
index 1744c48752..4e5b830b6f 100644
--- a/meta/recipes-core/uclibc/uclibc_git.bb
+++ b/meta/recipes-core/uclibc/uclibc_git.bb
@@ -1,27 +1,22 @@
1SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a" 1SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a"
2 2
3require uclibc.inc 3require uclibc.inc
4require uclibc-package.inc
5require uclibc-git.inc
4 6
5# We prefer a release version so DP -1 for this 7STAGINGCC = "gcc-cross-intermediate"
6DEFAULT_PREFERENCE = "-1" 8STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
7 9
8PV = "0.9.33+git${SRCPV}" 10PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
9PR = "${INC_PR}.1"
10PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
11 11
12FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" 12DEPENDS = "virtual/${TARGET_PREFIX}binutils \
13 virtual/${TARGET_PREFIX}gcc-intermediate \
14 linux-libc-headers ncurses-native"
13 15
14SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ 16RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
15 file://uClibc.machine \ 17RPROVIDES_${PN}-dev += "libc-dev virtual-libc-dev"
16 file://uClibc.distro \ 18# uclibc does not really have libsegfault but then using the one from glibc is also not
17 file://uclibc_enable_log2_test.patch \ 19# going to work. So we pretend that we have it to make bitbake not pull other recipes
18 file://powerpc_copysignl.patch \ 20# to satisfy this dependency for the images/tasks
19 file://argp-support.patch \
20 file://argp-headers.patch \
21 file://remove_attribute_optimize_Os.patch \
22 file://compile-arm-fork-with-O2.patch \
23 file://uclibc-execvpe.patch \
24 file://orign_path.patch \
25 "
26 21
27S = "${WORKDIR}/git" 22RPROVIDES_${PN} += "libsegfault rtld(GNU_HASH)"