diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-02-20 08:53:17 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-21 17:48:09 +0000 |
commit | 74b981acba092bb5887ff93f10c89ec31ee7e915 (patch) | |
tree | 8f3260e766390f9d1d91a4c20bca1f86d1d1803b /meta/recipes-extended/libsolv | |
parent | 7648a69d29a0553adba3a41130b5c5d798b84e8c (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-extended/libsolv')
-rw-r--r-- | meta/recipes-extended/libsolv/libsolv_0.7.10.bb | 2 |
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 | ||
19 | inherit cmake | 19 | inherit cmake |
20 | 20 | ||
21 | PACKAGECONFIG ??= "rpm" | 21 | PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}" |
22 | PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" | 22 | PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm" |
23 | 23 | ||
24 | EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON" | 24 | EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON" |