summaryrefslogtreecommitdiff
path: root/recipes/uclibc
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-09-13 19:47:16 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2009-09-13 19:47:16 +0000
commitf16e56319742656189dcedf251bd2ea390d17c03 (patch)
treeda6fc09cbe15b76b6bb9eda5201cd5e13e7f94cd /recipes/uclibc
parent848446695abfdb3d3631d70ece7e74311f26d37c (diff)
parent34e6a1ce23f1ef5f627447286c4ae768d8bcb1ad (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/uclibc')
-rw-r--r--recipes/uclibc/uclibc-initial_0.9.28.bb17
-rw-r--r--recipes/uclibc/uclibc-initial_0.9.29.bb13
-rw-r--r--recipes/uclibc/uclibc-initial_0.9.30.1.bb18
-rw-r--r--recipes/uclibc/uclibc-initial_0.9.30.bb17
-rw-r--r--recipes/uclibc/uclibc-initial_git.bb14
-rw-r--r--recipes/uclibc/uclibc-initial_nptl.bb14
6 files changed, 46 insertions, 47 deletions
diff --git a/recipes/uclibc/uclibc-initial_0.9.28.bb b/recipes/uclibc/uclibc-initial_0.9.28.bb
index dbd90fc862..e0b93f9418 100644
--- a/recipes/uclibc/uclibc-initial_0.9.28.bb
+++ b/recipes/uclibc/uclibc-initial_0.9.28.bb
@@ -10,20 +10,15 @@ do_stage() {
make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
pregen install_dev
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- libc/sysdeps/linux/${TARGET_ARCH}/crt1.o \
- libc/sysdeps/linux/${TARGET_ARCH}/crti.o \
- libc/sysdeps/linux/${TARGET_ARCH}/crtn.o
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 libc/sysdeps/linux/${TARGET_ARCH}/crt[1in].o ${UCLIBC_STAGE_PREFIX}/lib
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so
+ install -m 644 libc/libc.so ${UCLIBC_STAGE_PREFIX}/lib
}
@@ -32,5 +27,11 @@ do_install() {
}
do_compile () {
- :
+ make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ libc/sysdeps/linux/${TARGET_ARCH}/crt1.o \
+ libc/sysdeps/linux/${TARGET_ARCH}/crti.o \
+ libc/sysdeps/linux/${TARGET_ARCH}/crtn.o
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libc.so
}
diff --git a/recipes/uclibc/uclibc-initial_0.9.29.bb b/recipes/uclibc/uclibc-initial_0.9.29.bb
index 98ef7b291a..f7abdec20f 100644
--- a/recipes/uclibc/uclibc-initial_0.9.29.bb
+++ b/recipes/uclibc/uclibc-initial_0.9.29.bb
@@ -10,18 +10,15 @@ do_stage() {
make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
pregen install_dev
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- lib/crt1.o lib/crti.o lib/crtn.o
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
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so
+ install -m 644 lib/libc.so ${UCLIBC_STAGE_PREFIX}/lib
}
@@ -30,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
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libc.so
}
diff --git a/recipes/uclibc/uclibc-initial_0.9.30.1.bb b/recipes/uclibc/uclibc-initial_0.9.30.1.bb
index d0edf93693..46c0f66697 100644
--- a/recipes/uclibc/uclibc-initial_0.9.30.1.bb
+++ b/recipes/uclibc/uclibc-initial_0.9.30.1.bb
@@ -9,20 +9,14 @@ do_stage() {
# Install initial headers into the cross dir
make V=1 CC="${CC}" PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- pregen install_dev
- make V=1 CC="${CC}" PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- lib/crt1.o lib/crti.o lib/crtn.o
-
- install -d ${CROSS_DIR}/${TARGET_SYS}
+ install_headers
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
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so
-
+ install -m 644 lib/libc.so ${UCLIBC_STAGE_PREFIX}/lib
}
do_install() {
@@ -30,5 +24,9 @@ do_install() {
}
do_compile () {
- :
+ make V=1 CC="${CC}" PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
+ lib/crt1.o lib/crti.o lib/crtn.o
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libc.so
}
diff --git a/recipes/uclibc/uclibc-initial_0.9.30.bb b/recipes/uclibc/uclibc-initial_0.9.30.bb
index 98ef7b291a..9fcb247f61 100644
--- a/recipes/uclibc/uclibc-initial_0.9.30.bb
+++ b/recipes/uclibc/uclibc-initial_0.9.30.bb
@@ -9,20 +9,15 @@ do_stage() {
# Install initial headers into the cross dir
make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- pregen install_dev
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- lib/crt1.o lib/crti.o lib/crtn.o
+ install-headers
- 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
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so
-
+ install -m 644 lib/libc.so ${UCLIBC_STAGE_PREFIX}/lib
}
do_install() {
@@ -30,5 +25,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
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libc.so
}
diff --git a/recipes/uclibc/uclibc-initial_git.bb b/recipes/uclibc/uclibc-initial_git.bb
index 38b85ef36f..a0077b167a 100644
--- a/recipes/uclibc/uclibc-initial_git.bb
+++ b/recipes/uclibc/uclibc-initial_git.bb
@@ -10,17 +10,13 @@ do_stage() {
make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
install_headers
- make PREFIX= DEVEL_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- RUNTIME_PREFIX=${UCLIBC_STAGE_PREFIX}/ \
- lib/crt1.o lib/crti.o lib/crtn.o
-
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
- ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
- -o ${UCLIBC_STAGE_PREFIX}/lib/libc.so
+ install -m 644 lib/libc.so ${UCLIBC_STAGE_PREFIX}/lib
}
do_install() {
@@ -28,5 +24,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
+ ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
+ -o lib/libc.so
}
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
}