diff options
author | Johannes Kauffmann <johanneskauffmann@hotmail.com> | 2025-03-06 11:02:14 +0100 |
---|---|---|
committer | Johannes Kauffmann <johanneskauffmann@hotmail.com> | 2025-03-06 11:16:49 +0100 |
commit | 767f429e81a91ff25fdfd4123def9d6cb34fd7c3 (patch) | |
tree | cb724d462ab8afacda3d2296986dcb5453ed6e97 | |
parent | d50733572eccba50575459b50a6d9a4034558020 (diff) | |
download | meta-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.bb | 6 |
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 | ||
34 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" | ||
35 | |||
36 | # The tools package contains scripts to generate certificates and OPC UA schema definitions + nodeset descriptions. | ||
37 | PACKAGES += "${PN}-tools" | ||
38 | FILES:${PN}-tools = "${datadir}/${BPN}/tools/*" | ||
39 | |||
34 | PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth subscriptions subscriptions-events namespace-full" | 40 | PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth subscriptions subscriptions-events namespace-full" |
35 | PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl" | 41 | PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl" |
36 | PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls" | 42 | PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls" |