diff mbox series

[meta-oe] minifi-cpp: disable rocksdb support for armv5 and libc-musl:powerpc

Message ID 20241008093901.274528-1-kai.kang@windriver.com
State Accepted
Headers show
Series [meta-oe] minifi-cpp: disable rocksdb support for armv5 and libc-musl:powerpc | expand

Commit Message

Kai Oct. 8, 2024, 9:39 a.m. UTC
From: Kai Kang <kai.kang@windriver.com>

rocksdb is not compatible with libc-musl:powerpc and armv5, so remove 'rocksdb'
from PACKAGECONFIG. Otherwise it complains error:

| ERROR: Nothing PROVIDES 'rocksdb' (but /path_to/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
         DEPENDS on or otherwise requires it)
| rocksdb was skipped: incompatible with host arm-poky-linux-gnueabi (not in COMPATIBLE_HOST)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
index fca8d9e75..6f5cd4911 100644
--- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
+++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
@@ -97,6 +97,11 @@  EXTRA_OECMAKE = " \
                 "
 
 PACKAGECONFIG ??= "civetweb libarchive rocksdb expression-language"
+
+# rocksdb is not compatible with libc-musl:powerpc & armv5
+PACKAGECONFIG:remove:libc-musl:powerpc = "rocksdb"
+PACKAGECONFIG:remove:armv5 = "rocksdb"
+
 PACKAGECONFIG[civetweb] = "-DDISABLE_CIVET=OFF,-DDISABLE_CIVET=ON"
 PACKAGECONFIG[openwsman] = "-DENABLE_OPENWSMAN=ON,-DENABLE_OPENWSMAN=OFF,libxml2"
 PACKAGECONFIG[libarchive] = "-DDISABLE_LIBARCHIVE=OFF,-DDISABLE_LIBARCHIVE=ON,libarchive"