diff options
Diffstat (limited to 'recipes/glibc/glibc-stage.inc')
-rw-r--r-- | recipes/glibc/glibc-stage.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-stage.inc b/recipes/glibc/glibc-stage.inc new file mode 100644 index 0000000000..2b7b303c14 --- /dev/null +++ b/recipes/glibc/glibc-stage.inc @@ -0,0 +1,18 @@ +do_stage() { + rm -f ${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6 + oe_runmake 'install_root=${STAGING_DIR_HOST}' \ + 'includedir=${layout_includedir}' 'libdir=${layout_libdir}' 'slibdir=${layout_base_libdir}' \ + '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \ + install + + install -d ${STAGING_INCDIR}/gnu \ + ${STAGING_INCDIR}/bits \ + ${STAGING_INCDIR}/rpcsvc + install -m 0644 ${S}/include/gnu/stubs.h ${STAGING_INCDIR}/gnu/ + install -m 0644 ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/ + install -m 0644 misc/syscall-list.h ${STAGING_INCDIR}/bits/syscall.h + for r in ${rpcsvc}; do + h=`echo $r|sed -e's,\.x$,.h,'` + install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/ + done +} |