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

This reverts commit 0b9748c655b6f733b504e70288f4b91dca2e4d58.

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: ec984a5c56277251da847a62d6e64080be070809)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt
2019-12-14 14:15:00 +08:00
committed by Richard Purdie
parent a2ab2dcf12
commit cf8fb1974b

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/rpc/$(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"