1SUMMARY = "klibc, a small C library for use with initramfs" 2 3do_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 17PACKAGES = "libklibc libklibc-staticdev libklibc-dev" 18 19FILES:libklibc = "${libdir}/klibc-*.so" 20FILES:libklibc-staticdev = "${libdir}/klibc/lib/libc.a" 21FILES:libklibc-dev = "${libdir}/klibc.so \ 22 ${libdir}/klibc/lib/* \ 23 ${libdir}/klibc/include/* \ 24 " 25 26require klibc.inc 27