mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user