[oe-commits] =?UTF-8?Q?David=20Nystr=C3=B6m=20?=: nss: Add nativesdk to BBCLASSEXTEND and bugfix
git at git.openembedded.org
git at git.openembedded.org
Sun Feb 2 11:26:10 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 848a34dbe077b01bd3fe8953277256235666ecbe
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=848a34dbe077b01bd3fe8953277256235666ecbe
Author: David Nyström <david.c.nystrom at gmail.com>
Date: Fri Jan 31 10:30:03 2014 +0100
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 at enea.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-support/nss/nss.inc | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc
index 9a21976..a6aeed8 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"
More information about the Openembedded-commits
mailing list