diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc_2.0.10.bb')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc_2.0.10.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc_2.0.10.bb b/meta-initramfs/recipes-devtools/klibc/klibc_2.0.10.bb new file mode 100644 index 000000000..8dda9a8cd --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc_2.0.10.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "klibc, a small C library for use with initramfs" | ||
2 | |||
3 | do_install() { | ||
4 | oe_runmake install | ||
5 | # the crosscompiler is packaged by klcc-cross | ||
6 | # remove klcc | ||
7 | rm ${D}${bindir}/klcc | ||
8 | # remove now empty dir | ||
9 | rmdir ${D}${bindir} | ||
10 | install -d ${D}${libdir} | ||
11 | install -m 755 usr/klibc/klibc-*.so ${D}${libdir} | ||
12 | (cd ${D}${libdir}; ln -s klibc-*.so klibc.so) | ||
13 | rm -rf ${D}${exec_prefix}/man | ||
14 | rm -rf ${D}${libdir}/klibc/bin | ||
15 | } | ||
16 | |||
17 | PACKAGES = "libklibc libklibc-staticdev libklibc-dev" | ||
18 | |||
19 | FILES:libklibc = "${libdir}/klibc-*.so" | ||
20 | FILES:libklibc-staticdev = "${libdir}/klibc/lib/libc.a" | ||
21 | FILES:libklibc-dev = "${libdir}/klibc.so \ | ||
22 | ${libdir}/klibc/lib/* \ | ||
23 | ${libdir}/klibc/include/* \ | ||
24 | " | ||
25 | |||
26 | require klibc.inc | ||