diff options
| author | Andrea Adami <andrea.adami@gmail.com> | 2012-05-03 22:30:51 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-05-10 16:38:13 +0200 |
| commit | 32d316edae416b88159472a3b4f904a830090000 (patch) | |
| tree | 401a180f31a56e32121e121fae37b0042805a07b /meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb | |
| parent | 1beefee9cd3fb01def4af8131d65291b4cd83c28 (diff) | |
| download | meta-openembedded-32d316edae416b88159472a3b4f904a830090000.tar.gz | |
klibc: upgrade from 1.5.25 to 1.5.26
* minor updates, still waiting for release 2.0
* v2 adds another (sometimes) missing header
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb')
| -rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb b/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb deleted file mode 100644 index ae437539ae..0000000000 --- a/meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | PR = "${INC_PR}.0" | ||
| 2 | |||
| 3 | export INST = "${D}" | ||
| 4 | |||
| 5 | do_compile_prepend() { | ||
| 6 | |||
| 7 | # after kernel 3.1 the headers are moved in /generated | ||
| 8 | if [ ! -e ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/bitsperlong.h ] | ||
| 9 | then | ||
| 10 | ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/bitsperlong.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/bitsperlong.h | ||
| 11 | ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/errno.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/errno.h | ||
| 12 | ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/ioctl.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/ioctl.h | ||
| 13 | ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/poll.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/poll.h | ||
| 14 | fi | ||
| 15 | |||
| 16 | } | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | |||
| 20 | oe_runmake install | ||
| 21 | |||
| 22 | # the crosscompiler is packaged by klcc-cross | ||
| 23 | # remove klcc | ||
| 24 | rm ${D}${base_bindir}/klcc | ||
| 25 | # remove now empty dir | ||
| 26 | rmdir ${D}${base_bindir} | ||
| 27 | |||
| 28 | # remove Linux headers .install and ..install.cmd files | ||
| 29 | find ${D}${base_libdir}/klibc/include -name '.install' -delete | ||
| 30 | find ${D}${base_libdir}/klibc/include -name '..install.cmd' -delete | ||
| 31 | |||
| 32 | install -d ${D}${base_libdir} | ||
| 33 | install -m 755 usr/klibc/klibc-*.so ${D}${base_libdir} | ||
| 34 | (cd ${D}${base_libdir}; ln -s klibc-*.so klibc.so) | ||
| 35 | |||
| 36 | } | ||
| 37 | |||
| 38 | PACKAGES = "libklibc libklibc-staticdev libklibc-dev" | ||
| 39 | FILES_libklibc = "${base_libdir}/klibc-*.so" | ||
| 40 | FILES_libklibc-staticdev = "${base_libdir}/klibc/lib/libc.a" | ||
| 41 | FILES_libklibc-dev = "${base_libdir}/klibc.so \ | ||
| 42 | ${base_libdir}/klibc/lib/* \ | ||
| 43 | ${base_libdir}/klibc/include/* \ | ||
| 44 | " | ||
| 45 | require klibc.inc | ||
