diff options
Diffstat (limited to 'recipes/uclibc/uclibc-initial_nptl.bb')
-rw-r--r-- | recipes/uclibc/uclibc-initial_nptl.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes/uclibc/uclibc-initial_nptl.bb b/recipes/uclibc/uclibc-initial_nptl.bb index 3da8417e52..dc376f5bce 100644 --- a/recipes/uclibc/uclibc-initial_nptl.bb +++ b/recipes/uclibc/uclibc-initial_nptl.bb @@ -14,16 +14,12 @@ do_stage() { ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include # This conflicts with the c++ version of this header - make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ - RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ - lib/crt1.o lib/crti.o lib/crtn.o V=1 rm -f ${UCLIBC_STAGE_PREFIX}/include/bits/atomicity.h - + install -d ${UCLIBC_STAGE_PREFIX}/lib install -m 644 lib/crt[1in].o ${UCLIBC_STAGE_PREFIX}/lib + install -m 644 lib/libc.so ${UCLIBC_STAGE_PREFIX}/lib - ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ - -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so } do_install() { @@ -31,5 +27,9 @@ do_install() { } do_compile () { - : + make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \ + lib/crt1.o lib/crti.o lib/crtn.o V=1 + ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ + -o lib/libc.so } |