]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/multilib: expand PACKAGE_WRITE_DEPS in addition to DEPENDS
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 26 Jan 2024 13:34:49 +0000 (14:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Jan 2024 08:12:24 +0000 (08:12 +0000)
commit234965cb88ccfa9c3a357928f7155b119044e8fc
treed4c7232aa4857041316f02b1790131981ed66289
parent5ffa333db28bc5d8e440c983fdf95589d332461d
classes/multilib: expand PACKAGE_WRITE_DEPS in addition to DEPENDS

Otherwise, PACKAGE_WRITE_DEPS would contain non-multilib variants
of dependencies even when building multilib items, resulting in
sysroots being populated with entirely wrong versions of them.

This hasn't been noticed until now through sheer (bad) luck, I think,
except in the cpio recipe, but the previous commit shows that the issues
did occur, quietly. Every other recipe in oe-core and meta-oe does not
prepend the multilib prefix.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass
meta/recipes-extended/cpio/cpio_2.14.bb