From 767f429e81a91ff25fdfd4123def9d6cb34fd7c3 Mon Sep 17 00:00:00 2001 From: Johannes Kauffmann Date: Thu, 6 Mar 2025 11:02:14 +0100 Subject: 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 --- meta-networking/recipes-protocols/opcua/open62541_1.3.15.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-networking') 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 += "\ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ " +FILES:${PN} = "${libdir}/lib*${SOLIBS}" + +# The tools package contains scripts to generate certificates and OPC UA schema definitions + nodeset descriptions. +PACKAGES += "${PN}-tools" +FILES:${PN}-tools = "${datadir}/${BPN}/tools/*" + PACKAGECONFIG ?= "encryption-mbedtls pubsub pubsub-eth subscriptions subscriptions-events namespace-full" PACKAGECONFIG[encryption-mbedtls] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls, , , encryption-openssl" PACKAGECONFIG[encryption-openssl] = "-DUA_ENABLE_ENCRYPTION=OPENSSL, , openssl, , , encryption-mbedtls" -- cgit v1.2.3-54-g00ecf