diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 11:20:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 12:36:08 +0000 |
commit | b15730caf0d4c40271796887505507f2501958bb (patch) | |
tree | cc5e2a0514ff41790fb423f8cd2788ca629fbd9f | |
parent | 77a4497cf4581bf4d43c071f86550bd0a625f39f (diff) | |
download | poky-b15730caf0d4c40271796887505507f2501958bb.tar.gz |
mulitilib_header: Avoid sstate checksum issues for -native recipes
The use of arch specific variables like MIPSPKGSFX_ABI was creeping
into the -native sstate checksums of package like ncurses-native.
This is pointless and undesireable. We could add specific variable
exclusions but we might as well just brute force the code to be disabled
in the -native case since we don't use multilibs in the native case.
[YOCTO #3827]
(From OE-Core rev: cc7352ed990b1bdd26203a4d3b21286280ac26c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/multilib_header.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass index 639ed4ba53..4d049a82e6 100644 --- a/meta/classes/multilib_header.bbclass +++ b/meta/classes/multilib_header.bbclass | |||
@@ -39,3 +39,9 @@ oe_multilib_header() { | |||
39 | sed -e "s#ENTER_HEADER_FILENAME_HERE#${stem}#g" ${COREBASE}/scripts/multilib_header_wrapper.h > ${D}/${includedir}/$each_header | 39 | sed -e "s#ENTER_HEADER_FILENAME_HERE#${stem}#g" ${COREBASE}/scripts/multilib_header_wrapper.h > ${D}/${includedir}/$each_header |
40 | done | 40 | done |
41 | } | 41 | } |
42 | |||
43 | # Dependencies on arch variables like MIPSPKGSFX_ABI can be problematic. | ||
44 | # We don't need multilib headers for native builds so brute force things. | ||
45 | oe_multilib_header_class-native () { | ||
46 | return | ||
47 | } | ||