All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Nyström" <david.c.nystrom@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 4/5] nss: Add nativesdk to BBCLASSEXTEND and bugfix
Date: Fri, 31 Jan 2014 10:30:03 +0100	[thread overview]
Message-ID: <1391160604-23629-5-git-send-email-david.nystrom@enea.com> (raw)
In-Reply-To: <1391160604-23629-1-git-send-email-david.nystrom@enea.com>

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>
---
 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"
-- 
1.8.3.2



  parent reply	other threads:[~2014-01-31  9:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-31  9:29 [PATCHv2 0/5] Final patches for SDK rootfs creation David Nyström
2014-01-31  9:30 ` [PATCHv2 1/5] postinst-intercept: New recipe to include postinstall intercepts in nativesdk David Nyström
2014-01-31  9:30 ` [PATCHv2 2/5] nativesdk-packagegroup-sdk-host: Adding nativesdk-postinst-intercept to SDK David Nyström
2014-01-31  9:30 ` [PATCHv2 3/5] nspr: Added nativesdk to BBCLASSEXTEND David Nyström
2014-01-31  9:30 ` David Nyström [this message]
2014-01-31  9:30 ` [PATCHv2 5/5] nativesdk-packagegroup-sdk-host: Add nativesdk-nss to default inclusion in host SDK David Nyström
2014-01-31 15:46   ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1391160604-23629-5-git-send-email-david.nystrom@enea.com \
    --to=david.c.nystrom@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.