From 7f6898e1c631a5b1446f2aee0ce6c383342ea059 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Tue, 26 Nov 2024 11:31:18 +0100 Subject: [PATCH] recipes-core: add new recipe for dey-toolchain, a general DEY toolchain For many DEY releases, we've been providing one SDK per image type, per platform. In the case of graphical images, this was redundant for a few reasons: * Most of the SDK's contents were identical, save for the specific packages in each image (qt, webkit, lvgl...) and their dependencies. With each SDK occupying over 1.5 GiB, this results in a lot of storage space overhead in our servers. * For some images, namely webkit and lvgl images, their respective SDK packages aren't necessary for the expected development use cases, so it's perfectly possible to use the qt SDK instead. Create a separate recipe for a general-use SDK. Said toolchain includes qt5/qt6 packages by default, except for headless platforms. The advantages of this are: * We only provide one prebuilt SDK per platform, all with the same base name. The SDK should cover most if not all of the expected development use cases, and customers are still able to create their own custom SDKs if needed. * Having a separate recipe for the toolchain, not tied to a specific image type, allows us to fine tune its contents without affecting images and their recipes. With time, we can incorporate new packages as needed. https://onedigi.atlassian.net/browse/DEL-9297 Signed-off-by: Gabriel Valcazar --- meta-digi-dey/recipes-core/meta/dey-toolchain.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-digi-dey/recipes-core/meta/dey-toolchain.bb diff --git a/meta-digi-dey/recipes-core/meta/dey-toolchain.bb b/meta-digi-dey/recipes-core/meta/dey-toolchain.bb new file mode 100644 index 000000000..2cc5c4fec --- /dev/null +++ b/meta-digi-dey/recipes-core/meta/dey-toolchain.bb @@ -0,0 +1,10 @@ +# Copyright (C) 2024, Digi International Inc. + +SUMMARY = "Meta package for building an installable DEY toolchain and SDK" +LICENSE = "MIT" + +inherit core-image qt-version +inherit populate_sdk ${QT_POPULATE_SDK} + +SDK_NAME = "${PN}-${MACHINE}" +TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${SDK_VERSION}"