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-headers install-lib 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 for i in libc.a libc_pic.a libc_nonshared.a; do install -m 0644 ${B}/$i ${STAGING_DIR_HOST}/${layout_libdir}/ || die "failed to install $i" done echo 'GROUP ( ${layout_base_libdir}/libpthread.so.0 ${layout_libdir}/libpthread_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_libdir}/libpthread.so echo 'GROUP ( ${layout_base_libdir}/libc.so.6 ${layout_libdir}/libc_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_libdir}/libc.so }