summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-04-29 09:17:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-09 10:47:27 +0100
commitd3589298f5ae0bdedbc1f265ed964841a9d11cfd (patch)
treed8680a8271c6cbffb1d00bf2a39b5f5ebec92362
parent1d1e2f2c44aa6d02458cec720bee2818cbaa31ff (diff)
downloadopenembedded-core-contrib-d3589298f5ae0bdedbc1f265ed964841a9d11cfd.tar.gz
openembedded-core-contrib-d3589298f5ae0bdedbc1f265ed964841a9d11cfd.tar.bz2
openembedded-core-contrib-d3589298f5ae0bdedbc1f265ed964841a9d11cfd.zip
libnsl2: Install into /usr/include and /usr/lib
Extend to native and nativesdk variants Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/recipes-extended/libnsl/libnsl2_git.bb11
1 files changed, 1 insertions, 10 deletions
diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb b/meta/recipes-extended/libnsl/libnsl2_git.bb
index c6ba80c943..c3a24face1 100644
--- a/meta/recipes-extended/libnsl/libnsl2_git.bb
+++ b/meta/recipes-extended/libnsl/libnsl2_git.bb
@@ -21,13 +21,4 @@ S = "${WORKDIR}/git"
inherit autotools pkgconfig gettext
-EXTRA_OECONF += "--libdir=${libdir}/nsl --includedir=${includedir}/nsl"
-
-do_install_append() {
- install -d ${D}${libdir}
- mv ${D}${libdir}/nsl/pkgconfig ${D}${libdir}
-}
-
-FILES_${PN} += "${libdir}/nsl/*.so.*"
-FILES_${PN}-dev += "${includedir}/nsl ${libdir}/nsl/*.so"
-FILES_${PN}-staticdev += "${libdir}/nsl/*.a"
+BBCLASSEXTEND = "native nativesdk"