summaryrefslogtreecommitdiff
path: root/recipes/uclibc/uclibc-initial_0.9.29.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-25 22:38:19 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-25 22:39:38 +0000
commit77ec121b1bb96ea4621c8e761a5740cd4bb3cfc9 (patch)
tree49f5ae1373c94dff4f77a290bbf077099297c22c /recipes/uclibc/uclibc-initial_0.9.29.bb
parent5720be48bdb98f53557939f7253aec60e8f36686 (diff)
uclibc-initial: Convert to us do_install for staging. 0.9.30.1 is tested and works, anyone using older versions will need to verify this
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'recipes/uclibc/uclibc-initial_0.9.29.bb')
-rw-r--r--recipes/uclibc/uclibc-initial_0.9.29.bb25
1 files changed, 9 insertions, 16 deletions
diff --git a/recipes/uclibc/uclibc-initial_0.9.29.bb b/recipes/uclibc/uclibc-initial_0.9.29.bb
index f7abdec20f..94aa4efdc9 100644
--- a/recipes/uclibc/uclibc-initial_0.9.29.bb
+++ b/recipes/uclibc/uclibc-initial_0.9.29.bb
@@ -5,30 +5,23 @@ DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial
PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
PACKAGES = ""
-do_stage() {
+do_install() {
# Install initial headers into the cross dir
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ make PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
pregen install_dev
- install -d ${CROSS_DIR}/${TARGET_SYS}
- ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include
+ #install -d ${CROSS_DIR}/${TARGET_SYS}
+ #ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include
# This conflicts with the c++ version of this header
- 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
-
-}
-
-do_install() {
- :
+ rm -f ${D}${includedir}/bits/atomicity.h
+ install -d ${D}${libdir}/
+ install -m 644 lib/crt[1in].o ${D}${libdir}/
+ install -m 644 lib/libc.so ${D}${libdir}/
}
do_compile () {
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ make PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
lib/crt1.o lib/crti.o lib/crtn.o
${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
-o lib/libc.so