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:48:09 +0000
commit74b981acba092bb5887ff93f10c89ec31ee7e915 (patch)
tree8f3260e766390f9d1d91a4c20bca1f86d1d1803b
parent7648a69d29a0553adba3a41130b5c5d798b84e8c (diff)
downloadpoky-74b981acba092bb5887ff93f10c89ec31ee7e915.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 (From OE-Core rev: 007d693a3c51026a9265f8e0bd09af086bcd8252) 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"
18 18
19inherit cmake 19inherit cmake
20 20
21PACKAGECONFIG ??= "rpm" 21PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
22PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" 22PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
23 23
24EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON" 24EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"