minifi-cpp: disable rocksdb support for armv5 and libc-musl:powerpc

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang
2024-10-08 17:39:01 +08:00
committed by Khem Raj
parent ca7ea3ed02
commit c036f746ad
@@ -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"