diff options
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-0.9.33.inc | 21 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-git.inc | 23 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/utmp-locking.patch | 106 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-initial_0.9.33.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-initial_git.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-package.inc | 37 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc.inc | 59 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc_0.9.33.bb | 33 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc_git.bb | 33 |
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 @@ | |||
| 1 | SRCREV="7810e4f8027b5c4c8ceec6fefec4eb779362ebb5" | ||
| 2 | |||
| 3 | PR = "${INC_PR}.2" | ||
| 4 | |||
| 5 | SRC_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 | |||
| 21 | S = "${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 @@ | |||
| 1 | SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a" | ||
| 2 | |||
| 3 | DEFAULT_PREFERENCE = "-1" | ||
| 4 | |||
| 5 | PV = "0.9.33+git${SRCPV}" | ||
| 6 | PR = "${INC_PR}.1" | ||
| 7 | |||
| 8 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" | ||
| 9 | |||
| 10 | SRC_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 | |||
| 23 | S = "${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 @@ | |||
| 1 | diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c | ||
| 2 | index 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 @@ | |||
| 1 | SECTION = "base" | 1 | SECTION = "base" |
| 2 | require uclibc_${PV}.bb | 2 | require uclibc.inc |
| 3 | require uclibc-${PV}.inc | ||
| 3 | 4 | ||
| 4 | DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" | 5 | DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" |
| 5 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | 6 | PROVIDES = "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 @@ | |||
| 1 | SECTION = "base" | 1 | SECTION = "base" |
| 2 | require uclibc_git.bb | 2 | require uclibc.inc |
| 3 | require uclibc-git.inc | ||
| 3 | 4 | ||
| 4 | DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" | 5 | DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" |
| 5 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | 6 | PROVIDES = "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. | ||
| 3 | PACKAGES = "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 | |||
| 5 | FILES_uclibc-libcrypt = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so" | ||
| 6 | FILES_uclibc-libintl = "${base_libdir}/libintl*.so.* ${base_libdir}/libintl-*.so" | ||
| 7 | FILES_uclibc-libnsl = "${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so" | ||
| 8 | FILES_uclibc-libresolv = "${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so" | ||
| 9 | FILES_uclibc-libm = "${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so" | ||
| 10 | FILES_uclibc-libdl = "${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so" | ||
| 11 | FILES_uclibc-libutil = "${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so" | ||
| 12 | FILES_uclibc-libpthread = "${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so" | ||
| 13 | FILES_uclibc-librt = "${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so" | ||
| 14 | |||
| 15 | FILES_ldd = "${bindir}/ldd" | ||
| 16 | FILES_uclibc-utils = "${bindir} ${sbindir}" | ||
| 17 | FILES_uclibc-utils-dbg += "${bindir}/.debug ${sbindir}/.debug" | ||
| 18 | FILES_uclibc-gconv = "${libdir}/gconv" | ||
| 19 | FILES_uclibc-thread-db = "${base_libdir}/libthread_db*" | ||
| 20 | FILES_uclibc-argp = "${base_libdir}/libuargp-*.so ${base_libdir}/libuargp*.so.*" | ||
| 21 | FILES_uclibc-backtrace = "${base_libdir}/libubacktrace-*.so ${base_libdir}/libubacktrace*.so.*" | ||
| 22 | |||
| 23 | # The last line (gdb and lib1) is for uclinux-uclibc builds | ||
| 24 | uclibc_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 | " | ||
| 28 | FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}" | ||
| 29 | FILES_${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 | " | ||
| 36 | FILES_${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 | |||
| 16 | INC_PR = "r8" | 16 | INC_PR = "r8" |
| 17 | 17 | ||
| 18 | require uclibc-config.inc | 18 | require uclibc-config.inc |
| 19 | STAGINGCC = "gcc-cross-intermediate" | ||
| 20 | STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate" | ||
| 21 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" | ||
| 22 | 19 | ||
| 20 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" | ||
| 23 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" | 21 | TOOLCHAIN_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. |
| 41 | COMPATIBLE_HOST = ".*-uclibc.*" | 39 | COMPATIBLE_HOST = ".*-uclibc.*" |
| 42 | 40 | ||
| 43 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | ||
| 44 | DEPENDS = "virtual/${TARGET_PREFIX}binutils \ | ||
| 45 | virtual/${TARGET_PREFIX}gcc-intermediate \ | ||
| 46 | linux-libc-headers ncurses-native" | ||
| 47 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
| 48 | |||
| 49 | INHIBIT_DEFAULT_DEPS = "1" | 41 | INHIBIT_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. | ||
| 53 | PACKAGES = "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 | |||
| 55 | FILES_uclibc-libcrypt = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so" | ||
| 56 | FILES_uclibc-libintl = "${base_libdir}/libintl*.so.* ${base_libdir}/libintl-*.so" | ||
| 57 | FILES_uclibc-libnsl = "${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so" | ||
| 58 | FILES_uclibc-libresolv = "${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so" | ||
| 59 | FILES_uclibc-libm = "${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so" | ||
| 60 | FILES_uclibc-libdl = "${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so" | ||
| 61 | FILES_uclibc-libutil = "${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so" | ||
| 62 | FILES_uclibc-libpthread = "${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so" | ||
| 63 | FILES_uclibc-librt = "${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so" | ||
| 64 | |||
| 65 | FILES_ldd = "${bindir}/ldd" | ||
| 66 | FILES_uclibc-utils = "${bindir} ${sbindir}" | ||
| 67 | FILES_uclibc-utils-dbg += "${bindir}/.debug ${sbindir}/.debug" | ||
| 68 | FILES_uclibc-gconv = "${libdir}/gconv" | ||
| 69 | FILES_uclibc-thread-db = "${base_libdir}/libthread_db*" | ||
| 70 | FILES_uclibc-argp = "${base_libdir}/libuargp-*.so ${base_libdir}/libuargp*.so.*" | ||
| 71 | FILES_uclibc-backtrace = "${base_libdir}/libubacktrace-*.so ${base_libdir}/libubacktrace*.so.*" | ||
| 72 | |||
| 73 | # The last line (gdb and lib1) is for uclinux-uclibc builds | ||
| 74 | uclibc_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 | " | ||
| 78 | FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}" | ||
| 79 | FILES_${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 | " | ||
| 86 | FILES_${PN} = "${sysconfdir} ${uclibc_baselibs} /sbin/ldconfig \ | ||
| 87 | ${libexecdir} ${datadir}/zoneinfo ${libdir}/locale" | ||
| 88 | |||
| 89 | RPROVIDES_${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 | |||
| 94 | RPROVIDES_${PN} += "libsegfault rtld(GNU_HASH)" | ||
| 95 | |||
| 96 | SRC_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). |
| 102 | OEMAKE_NO_CC = "'STRIPTOOL=true' 'LD=${LD}'" | 45 | OEMAKE_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 @@ | |||
| 1 | SRCREV="7810e4f8027b5c4c8ceec6fefec4eb779362ebb5" | 1 | SRCREV="7810e4f8027b5c4c8ceec6fefec4eb779362ebb5" |
| 2 | 2 | ||
| 3 | require uclibc.inc | 3 | require uclibc.inc |
| 4 | require uclibc-package.inc | ||
| 5 | require uclibc-${PV}.inc | ||
| 4 | 6 | ||
| 5 | PR = "${INC_PR}.2" | 7 | STAGINGCC = "gcc-cross-intermediate" |
| 6 | PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" | 8 | STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate" |
| 7 | 9 | ||
| 8 | SRC_URI = "git://uclibc.org/uClibc.git;branch=${PV};protocol=git \ | 10 | DEPENDS = "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 | ||
| 24 | S = "${WORKDIR}/git" | 14 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" |
| 15 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" | ||
| 16 | RPROVIDES_${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 | |||
| 21 | RPROVIDES_${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 @@ | |||
| 1 | SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a" | 1 | SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a" |
| 2 | 2 | ||
| 3 | require uclibc.inc | 3 | require uclibc.inc |
| 4 | require uclibc-package.inc | ||
| 5 | require uclibc-git.inc | ||
| 4 | 6 | ||
| 5 | # We prefer a release version so DP -1 for this | 7 | STAGINGCC = "gcc-cross-intermediate" |
| 6 | DEFAULT_PREFERENCE = "-1" | 8 | STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate" |
| 7 | 9 | ||
| 8 | PV = "0.9.33+git${SRCPV}" | 10 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" |
| 9 | PR = "${INC_PR}.1" | ||
| 10 | PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" | ||
| 11 | 11 | ||
| 12 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" | 12 | DEPENDS = "virtual/${TARGET_PREFIX}binutils \ |
| 13 | virtual/${TARGET_PREFIX}gcc-intermediate \ | ||
| 14 | linux-libc-headers ncurses-native" | ||
| 13 | 15 | ||
| 14 | SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ | 16 | RDEPENDS_${PN}-dev = "linux-libc-headers-dev" |
| 15 | file://uClibc.machine \ | 17 | RPROVIDES_${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 | ||
| 27 | S = "${WORKDIR}/git" | 22 | RPROVIDES_${PN} += "libsegfault rtld(GNU_HASH)" |
