diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-28 22:46:34 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-28 22:46:34 +0000 |
commit | 9babe4ce77e8957c357306c35d854726a45e88c8 (patch) | |
tree | 9457f6a2794dfbb1b0c4611e92c4c4c12e98672f /meta/packages/uclibc/uclibc-initial_0.9.29.bb | |
parent | ce8bd8caeb2053ffa2b7fcceaad0fdf8a9b58804 (diff) | |
download | poky-9babe4ce77e8957c357306c35d854726a45e88c8.tar.gz |
Add uclibc (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1799 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/uclibc/uclibc-initial_0.9.29.bb')
-rw-r--r-- | meta/packages/uclibc/uclibc-initial_0.9.29.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/uclibc/uclibc-initial_0.9.29.bb b/meta/packages/uclibc/uclibc-initial_0.9.29.bb new file mode 100644 index 0000000000..840acafeac --- /dev/null +++ b/meta/packages/uclibc/uclibc-initial_0.9.29.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SECTION = "base" | ||
2 | require uclibc_${PV}.bb | ||
3 | |||
4 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-${PV}', '${FILE_DIRNAME}/uclibc', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" | ||
5 | |||
6 | DEPENDS = "linux-libc-headers" | ||
7 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | ||
8 | PACKAGES = "" | ||
9 | |||
10 | do_stage() { | ||
11 | # Install initial headers into the cross dir | ||
12 | make PREFIX= DEVEL_PREFIX=${UCLIBC_PREFIX}/ \ | ||
13 | RUNTIME_PREFIX=${UCLIBC_PREFIX}/ \ | ||
14 | pregen install_dev | ||
15 | |||
16 | mkdir -p ${CROSS_DIR}/${TARGET_SYS} | ||
17 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include | ||
18 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
19 | ln -sf include ${CROSS_DIR}/${TARGET_SYS}/sys-include | ||
20 | rm -rf ${CROSS_DIR}/${TARGET_SYS}/${prefix} | ||
21 | |||
22 | # This conflicts with the c++ version of this header | ||
23 | rm -f ${UCLIBC_PREFIX}/include/bits/atomicity.h | ||
24 | } | ||
25 | |||
26 | do_install() { | ||
27 | : | ||
28 | } | ||
29 | |||
30 | do_compile () { | ||
31 | : | ||
32 | } | ||