summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-initial_0.9.29.bb
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-05-23 12:30:07 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-05-23 12:30:07 +0000
commit3c5f9f0a3ec98f4dddd1130a7e553e2f5550ae1c (patch)
tree5a5ecef2f9da08f04d50b69ad6951dbd9553fa94 /packages/uclibc/uclibc-initial_0.9.29.bb
parent2b9cc7ea6182e893f40d9b99a3e78f5a599eb201 (diff)
uclibc: Add uclibc-initial-0.9.29 so that toolchain bootstrap from recent kernel headers works.
Diffstat (limited to 'packages/uclibc/uclibc-initial_0.9.29.bb')
-rw-r--r--packages/uclibc/uclibc-initial_0.9.29.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-initial_0.9.29.bb b/packages/uclibc/uclibc-initial_0.9.29.bb
new file mode 100644
index 0000000000..840acafeac
--- /dev/null
+++ b/packages/uclibc/uclibc-initial_0.9.29.bb
@@ -0,0 +1,32 @@
+SECTION = "base"
+require uclibc_${PV}.bb
+
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
+
+DEPENDS = "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 () {
+ :
+}