From 42bc72d21226e76c9b013fc052f17d847dc6a97a Mon Sep 17 00:00:00 2001 From: David Nyström Date: Fri, 31 Jan 2014 10:30:03 +0100 Subject: nss: Add nativesdk to BBCLASSEXTEND and bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- meta/recipes-support/nss/nss.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'meta/recipes-support/nss') 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" -- cgit 1.2.3-korg