summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-02-20 08:53:17 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-21 17:46:46 +0000
commit007d693a3c51026a9265f8e0bd09af086bcd8252 (patch)
tree1046ebf9aa439cdba0f942289c3e567747e6d624
parent5df9d43a7173e396bb39ff21183b67ba52681993 (diff)
downloadopenembedded-core-007d693a3c51026a9265f8e0bd09af086bcd8252.tar.gz
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/libsolv/libsolv_0.7.10.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.10.bb b/meta/recipes-extended/libsolv/libsolv_0.7.10.bb
index 502f4e0e85..265a27c00d 100644
--- a/meta/recipes-extended/libsolv/libsolv_0.7.10.bb
+++ b/meta/recipes-extended/libsolv/libsolv_0.7.10.bb
@@ -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"