diff options
author | David Nyström <david.c.nystrom@gmail.com> | 2014-01-31 10:30:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 22:37:40 +0000 |
commit | a42f84682fb0522beacfb445ccfd482fe536d629 (patch) | |
tree | b18f79b1392174fefe713d9fb2054c98e24bf2de /meta | |
parent | 092afbc8864cc80fa19254eebe09342e32935ca6 (diff) | |
download | poky-a42f84682fb0522beacfb445ccfd482fe536d629.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.
(From OE-Core rev: 42bc72d21226e76c9b013fc052f17d847dc6a97a)
Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/nss/nss.inc | 11 |
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() { | |||
37 | export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} | 37 | export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} |
38 | } | 38 | } |
39 | 39 | ||
40 | do_compile_prepend_class-nativesdk() { | ||
41 | export LDFLAGS="" | ||
42 | } | ||
43 | |||
40 | do_compile() { | 44 | do_compile() { |
41 | export CROSS_COMPILE=1 | 45 | export CROSS_COMPILE=1 |
42 | export NATIVE_CC="gcc" | 46 | export NATIVE_CC="gcc" |
@@ -73,6 +77,11 @@ do_compile() { | |||
73 | OS_TEST=${OS_TEST} \ | 77 | OS_TEST=${OS_TEST} \ |
74 | } | 78 | } |
75 | 79 | ||
80 | |||
81 | do_install_prepend_class-nativesdk() { | ||
82 | export LDFLAGS="" | ||
83 | } | ||
84 | |||
76 | do_install() { | 85 | do_install() { |
77 | export CROSS_COMPILE=1 | 86 | export CROSS_COMPILE=1 |
78 | export NATIVE_CC="gcc" | 87 | export NATIVE_CC="gcc" |
@@ -193,4 +202,4 @@ FILES_${PN}-dbg = "\ | |||
193 | ${libdir}/.debug/* \ | 202 | ${libdir}/.debug/* \ |
194 | " | 203 | " |
195 | 204 | ||
196 | BBCLASSEXTEND = "native" | 205 | BBCLASSEXTEND = "native nativesdk" |