Revert "libtirpc: create the symbol link for rpc header files"

This reverts commit 674596421320de08142e010fdd65ec6f0a0f34e9 and
9dc1aaed83f0627db65f387de0b1e51503ab07b1.

The headers provided by libtirpc are not drop in replacements for the
RPC header files previously provided by glibc, so do not install them
as if they were. Additionally, they clash with the header files
installed by glibc if an older version of glibc is used.

Any problems related to the lack of the old header files from glibc
should be addressed in the application/library that expects them.

(From OE-Core rev: 8311e8b399fda66deee980dfd36068fafed2a2aa)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt
2019-12-06 19:40:37 +01:00
committed by Richard Purdie
parent 1fe304d351
commit 032539ad55

View File

@@ -22,21 +22,7 @@ inherit autotools pkgconfig
EXTRA_OECONF = "--disable-gssapi"
do_install_append() {
chown root:root ${D}${sysconfdir}/netconfig
install -d ${D}${includedir}/rpc
install -d ${D}${includedir}/rpcsvc
for link_header in ${D}${includedir}/tirpc/rpc/*; do
if [ -f $link_header -a ! -e ${D}/${includedir}/rpc/$(basename $link_header) ]; then
ln -sf ../tirpc/rpc/$(basename $link_header) ${D}${includedir}/rpc/$(basename $link_header)
fi
done
for link_header in ${D}${includedir}/tirpc/rpcsvc/*; do
if [ -f $link_header -a ! -e ${D}/${includedir}/rpcsvc/$(basename $link_header) ]; then
ln -sf ../tirpc/rpcsvc/$(basename $link_header) ${D}${includedir}/rpcsvc/$(basename $link_header)
fi
done
ln -sf tirpc/netconfig.h ${D}/${includedir}/netconfig.h
chown root:root ${D}${sysconfdir}/netconfig
}
BBCLASSEXTEND = "native nativesdk"