mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 18:32:12 +02:00
musl: Show error when used with multilibs
As discussed in the bugzilla entry, musl doesn't work with multilibs. I originally sent this patch in 2020 but was told that support was being added. I recently revisited the bug and retested a basic config which still fails the way it did in 2019. Since clearly nobody is using this, make it clear we don't support it. If anyone does add support, we can remove this error very easily. [YOCTO #13122] (From OE-Core rev: 4da308d37aa51231b617fedb401076c13cafd89a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -32,3 +32,9 @@ COMPATIBLE_HOST:riscv32 = "null"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
do_configure[cleandirs] = "${B}"
|
||||
|
||||
python () {
|
||||
multilibs = d.getVar("MULTILIBS")
|
||||
if multilibs:
|
||||
raise bb.parse.SkipRecipe("musl is not compatible with multilibs")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user