]> code.ossystems Code Review - openembedded-core.git/commit
libucontext: Switch to meson build system
authorKhem Raj <raj.khem@gmail.com>
Sun, 30 May 2021 15:57:34 +0000 (08:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 May 2021 13:29:40 +0000 (14:29 +0100)
commit6e186e75d62e1afabd19a339924b66eac1418274
treefac45cf16e6142721e6bae2299978b093898fc12
parent6021790de3cc281f094ba6535031fd8c5023b273
libucontext: Switch to meson build system

cross compiling with meson is easier than the plain makefile build
method that libucontext has, there were bunch of problems passing
compiler and make variables, compounded by the fact that makefile
decided on some compiler flags internally and thought that cflags are
synthesized completely in makefile and not passed from environment like
OE is doing. As a result some features were not being compiled in e.g.
function name aliases were missing

meson, on the other hand is cleaner and we have to add a patch to
support cpu architecture on meson cmdline, everything else pretty much
works out of box

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/musl/libucontext/0001-meson-Add-option-to-pass-cpu.patch [new file with mode: 0644]
meta/recipes-core/musl/libucontext_git.bb