diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-30 15:02:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-30 16:27:02 +0100 |
commit | 141dc7136c9c62da1d30132df4b3244fe6d8898d (patch) | |
tree | 303b7570d78a4cfe09280a5260d2e7d80bdd1c8e /meta/classes/multilib_header.bbclass | |
parent | a2fbf85f68b685c32049fb48aed0248369911c49 (diff) | |
download | openembedded-core-contrib-141dc7136c9c62da1d30132df4b3244fe6d8898d.tar.gz |
multilib_header: Update wrapper to handle arm 32/64 bit
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib_header.bbclass')
-rw-r--r-- | meta/classes/multilib_header.bbclass | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass index 304c28e7713..e03f5b13b2f 100644 --- a/meta/classes/multilib_header.bbclass +++ b/meta/classes/multilib_header.bbclass @@ -13,13 +13,9 @@ oe_multilib_header() { ;; *) esac - # We use - # For ARM: We don't support multilib builds. # For MIPS: "n32" is a special case, which needs to be # distinct from both 64-bit and 32-bit. case ${TARGET_ARCH} in - arm*) return - ;; mips*) case "${MIPSPKGSFX_ABI}" in "-n32") ident=n32 @@ -31,9 +27,6 @@ oe_multilib_header() { ;; *) ident=${SITEINFO_BITS} esac - if echo ${TARGET_ARCH} | grep -q arm; then - return - fi for each_header in "$@" ; do if [ ! -f "${D}/${includedir}/$each_header" ]; then bberror "oe_multilib_header: Unable to find header $each_header." |