diff options
Diffstat (limited to 'meta/packages/uclibc/uclibc-initial_0.9.29.bb')
-rw-r--r-- | meta/packages/uclibc/uclibc-initial_0.9.29.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/packages/uclibc/uclibc-initial_0.9.29.bb b/meta/packages/uclibc/uclibc-initial_0.9.29.bb index 572693dd6b..ee0631d453 100644 --- a/meta/packages/uclibc/uclibc-initial_0.9.29.bb +++ b/meta/packages/uclibc/uclibc-initial_0.9.29.bb | |||
@@ -3,7 +3,7 @@ require uclibc_${PV}.bb | |||
3 | 3 | ||
4 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | 4 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" |
5 | 5 | ||
6 | DEPENDS = "linux-libc-headers ncurses-native" | 6 | DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial" |
7 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | 7 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" |
8 | PACKAGES = "" | 8 | PACKAGES = "" |
9 | 9 | ||
@@ -12,11 +12,17 @@ do_stage() { | |||
12 | make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | 12 | make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ |
13 | RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | 13 | RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ |
14 | pregen install_dev | 14 | pregen install_dev |
15 | make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | ||
16 | RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ | ||
17 | lib/crt1.o lib/crti.o lib/crtn.o | ||
15 | 18 | ||
16 | ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include | 19 | ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include |
17 | 20 | ||
18 | # This conflicts with the c++ version of this header | 21 | # This conflicts with the c++ version of this header |
19 | rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h | 22 | rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h |
23 | install -m 644 lib/crt[1in].o ${UCLIBC_STAGE_PREFIX}/lib | ||
24 | ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ | ||
25 | -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so | ||
20 | } | 26 | } |
21 | 27 | ||
22 | do_install() { | 28 | do_install() { |