summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-stage.inc
blob: cb9ab04e1fc39adcf1809e086ff4899bc905b005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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

	# "make install" omits some (not all) RPC headers that other distros
	# ship.
	install -d ${STAGING_INCDIR}/rpcsvc

	for r in ${rpcsvc}; do
		h=`echo $r|sed -e's,\.x$,.h,'`
		install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
	done
}