summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2019-12-06 19:40:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 12:00:43 +0000
commit032539ad55aced3ccaad059f22047dd53f8904cf (patch)
tree9d97664fc2bf65c5f771ada51799e110132a622c /meta
parent1fe304d3519d9f7d741ddbdc06b3f6041a1716a4 (diff)
downloadpoky-032539ad55aced3ccaad059f22047dd53f8904cf.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb16
1 files changed, 1 insertions, 15 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
index 9d8533a009..a02e35d19a 100644
--- a/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
+++ b/meta/recipes-extended/libtirpc/libtirpc_1.1.4.bb
@@ -22,21 +22,7 @@ inherit autotools pkgconfig
22EXTRA_OECONF = "--disable-gssapi" 22EXTRA_OECONF = "--disable-gssapi"
23 23
24do_install_append() { 24do_install_append() {
25 chown root:root ${D}${sysconfdir}/netconfig 25 chown root:root ${D}${sysconfdir}/netconfig
26 install -d ${D}${includedir}/rpc
27 install -d ${D}${includedir}/rpcsvc
28 for link_header in ${D}${includedir}/tirpc/rpc/*; do
29 if [ -f $link_header -a ! -e ${D}/${includedir}/rpc/$(basename $link_header) ]; then
30 ln -sf ../tirpc/rpc/$(basename $link_header) ${D}${includedir}/rpc/$(basename $link_header)
31 fi
32 done
33 for link_header in ${D}${includedir}/tirpc/rpcsvc/*; do
34 if [ -f $link_header -a ! -e ${D}/${includedir}/rpcsvc/$(basename $link_header) ]; then
35 ln -sf ../tirpc/rpcsvc/$(basename $link_header) ${D}${includedir}/rpcsvc/$(basename $link_header)
36 fi
37 done
38 ln -sf tirpc/netconfig.h ${D}/${includedir}/netconfig.h
39
40} 26}
41 27
42BBCLASSEXTEND = "native nativesdk" 28BBCLASSEXTEND = "native nativesdk"