summaryrefslogtreecommitdiffstats
path: root/scripts/multilib_header_wrapper.h
Commit message (Collapse)AuthorAgeFilesLines
* multilib_header: recognize BPF as a targetDaniel Díaz2018-09-131-1/+3
| | | | | | | | | | | | | | | | When building with `clang -target bpf` using the multilib_header, a recursion was unavoidable because bits/wordsize.h would #include itself, still lacking a definition for __MHWORDSIZE or __WORDSIZE. (From OE-Core rev: 70b41b3c335a80b4ac243f468f22331d261299db) (From OE-Core rev: 58abe666d3bad7a915c244c61085482e94b3d549) (From OE-Core rev: edb02f0d1d313fb026e39cc320e63be7e0132e7b) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib_header: Update wrapper to handle arm 32/64 bitRichard Purdie2017-03-311-10/+16
| | | | | | | | | | | | | Having arm 32/64 bit headers coexisting turns out to be tricky. Unfortunately our wrapper works using wordsize.h and this differs on arm so we can't use it. Therefore replicate the logic here for arm. I did look into writing our own wordsize.h but we also need to remap kernel headers on arm and since wordsize.h comes from libc, that doesn't work for kernel headers. (From OE-Core rev: 141dc7136c9c62da1d30132df4b3244fe6d8898d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib_header.bbclass: Add oe_multilib_header wrapperMark Hatle2011-07-271-0/+55
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>