summaryrefslogtreecommitdiffstats
path: root/meta/classes/multilib_header.bbclass
AgeCommit message (Collapse)Author
2014-06-01multilib_header: Do not install mutlilib headers for muslKhem Raj
musl is not multilib and this creates trouble. eg. when util-linux probes for ncurses it does not find it because ncurses has installed the multilibbed header and this header includes bits/wordsize.h and this header does not exist on musl systems. If and when musl adds multilib support we will revisit it. (From OE-Core rev: dad1c2746326912db41a3ff180679cdfe0e844f9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-14mulitilib_header: Avoid sstate checksum issues for -native recipesRichard Purdie
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>
2012-10-27insane.bbclass and friends: Fix sanity checks and multlib headers for n32Peter Seebach
The n32 architecture is odd, in that it's a mips64 ABI which happens to be 32-bit. To handle this, we need something in the environment which can be used to distinguish it. The obvious place to stash this is the ABI suffix, so we use "n32" as an ABI suffix. This allows a couple of improved checks: 1. In insane.bbclass, we can use "linux-gnun32" to discern that it's okay for a mips64 binary to be a 32-bit binary in some cases. 2. In multilib_header, we can check for the n32 ABI, and use a distinct value. 3. In siteinfo, add linux-gnun32 as a synonym for linux, similar to what's done for linux-gnux32, and tell the mips*-linux-gnun32 variants to pick up the corresponding mips-linux site configs. Note that the multilib header wrapper already has n32 hooks in it, there was just nothing creating -n32 header variants. (From OE-Core rev: c8e8e8ba22eaa335ac72f0e5b317f804035133e2) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27multilib_header.bbclass: Add oe_multilib_header wrapperMark Hatle
This helper function and associated header will allow us to resolve two/three header files that conflict due to contents that change based on wordsize and ABI. (From OE-Core rev: 1fe66d01b7bce70a37245d47b1abce155fae926e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>