]> code.ossystems Code Review - openembedded-core.git/commit
multilib_header: Update wrapper to handle arm 32/64 bit
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 14:02:21 +0000 (15:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2017 15:27:02 +0000 (16:27 +0100)
commit141dc7136c9c62da1d30132df4b3244fe6d8898d
tree303b7570d78a4cfe09280a5260d2e7d80bdd1c8e
parenta2fbf85f68b685c32049fb48aed0248369911c49
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>
meta/classes/multilib_header.bbclass
scripts/multilib_header_wrapper.h