summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Kauffmann <johanneskauffmann@hotmail.com>2025-03-06 11:02:14 +0100
committerJohannes Kauffmann <johanneskauffmann@hotmail.com>2025-03-06 11:16:49 +0100
commit767f429e81a91ff25fdfd4123def9d6cb34fd7c3 (patch)
treecb724d462ab8afacda3d2296986dcb5453ed6e97
parentd50733572eccba50575459b50a6d9a4034558020 (diff)
downloadmeta-openembedded-767f429e81a91ff25fdfd4123def9d6cb34fd7c3.tar.gz
open62541: split schema defs into separate package
The OPC UA schema definitions and nodeset descriptions make up 90MB of the "normal" package and contain mostly text files not needed during runtime. Split them into a -tools package. The "normal" package size is reduced drastically. Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
-rw-r--r--meta-networking/recipes-protocols/opcua/open62541_1.3.15.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.3.15.bb b/meta-networking/recipes-protocols/opcua/open62541_1.3.15.bb
index f12f771fc0..1fde165c4f 100644
--- a/meta-networking/recipes-protocols/opcua/open62541_1.3.15.bb
+++ b/meta-networking/recipes-protocols/opcua/open62541_1.3.15.bb
@@ -31,6 +31,12 @@ EXTRA_OECMAKE += "\
31 -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 31 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
32" 32"
33 33
34FILES:${PN} = "${libdir}/lib*${SOLIBS}"
35
36# The tools package contains scripts to generate certificates and OPC UA schema definitions + nodeset descriptions.
37PACKAGES += "${PN}-tools"
38FILES:${PN}-tools = "${datadir}/${BPN}/tools/*"
39
34PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth subscriptions subscriptions-events namespace-full" 40PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth subscriptions subscriptions-events namespace-full"
35PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl" 41PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl"
36PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls" 42PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls"