1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

libsolv: Enable rpm packageconfig by default only if rpm O_P_M is enabled

opkg also depends on libsolv and can needlessly pull in rpm even if
the O_P_M does not desire to use rpm

(From OE-Core rev: 007d693a3c51026a9265f8e0bd09af086bcd8252)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2020-02-20 08:53:17 -08:00
committed by Richard Purdie
parent 7648a69d29
commit 74b981acba
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
inherit cmake
PACKAGECONFIG ??= "rpm"
PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"