aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorDavid Nyström <david.c.nystrom@gmail.com>2014-01-31 10:30:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 22:34:33 +0000
commit42bc72d21226e76c9b013fc052f17d847dc6a97a (patch)
treeb4d86ccc470d2486a889df37320090dc19f76b4b /meta/recipes-support
parentf7433d024baaa074f3e5f05a28ab22543bee7001 (diff)
downloadopenembedded-core-contrib-42bc72d21226e76c9b013fc052f17d847dc6a97a.tar.gz
nss: Add nativesdk to BBCLASSEXTEND and bugfix
Since shsignlibs is used from the nss postinstall hook. It should be included in nativesdk to make offline rootfs construction possible. Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/nss/nss.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 9a2197625b..a6aeed8b1a 100644
--- a/meta/recipes-support/nss/nss.inc
+++ b/meta/recipes-support/nss/nss.inc
@@ -37,6 +37,10 @@ do_compile_prepend_class-native() {
export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE}
}
+do_compile_prepend_class-nativesdk() {
+ export LDFLAGS=""
+}
+
do_compile() {
export CROSS_COMPILE=1
export NATIVE_CC="gcc"
@@ -73,6 +77,11 @@ do_compile() {
OS_TEST=${OS_TEST} \
}
+
+do_install_prepend_class-nativesdk() {
+ export LDFLAGS=""
+}
+
do_install() {
export CROSS_COMPILE=1
export NATIVE_CC="gcc"
@@ -193,4 +202,4 @@ FILES_${PN}-dbg = "\
${libdir}/.debug/* \
"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"