summaryrefslogtreecommitdiff
path: root/uclibc/uclibc-initial_cvs.oe
diff options
context:
space:
mode:
Diffstat (limited to 'uclibc/uclibc-initial_cvs.oe')
-rw-r--r--uclibc/uclibc-initial_cvs.oe32
1 files changed, 32 insertions, 0 deletions
diff --git a/uclibc/uclibc-initial_cvs.oe b/uclibc/uclibc-initial_cvs.oe
index e69de29bb2..4b19f28c88 100644
--- a/uclibc/uclibc-initial_cvs.oe
+++ b/uclibc/uclibc-initial_cvs.oe
@@ -0,0 +1,32 @@
+SECTION = "base"
+include uclibc_cvs.oe
+
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-cvs', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
+
+DEPENDS = "patcher-native linux-libc-headers"
+PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
+PACKAGES = ""
+
+do_stage() {
+ # Install initial headers into the cross dir
+ make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \
+ RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \
+ pregen install_dev
+
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include
+ mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib
+ ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include
+ rm -rf ${CROSS_DIR}/${TARGET_SYS}/${prefix}
+
+ # This conflicts with the c++ version of this header
+ rm -f ${UCLIBC_PREFIX}/include/bits/atomicity.h
+}
+
+do_install() {
+ :
+}
+
+do_compile () {
+ :
+}