summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-11-10 10:06:11 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2016-11-21 08:39:46 +0000
commit1a9ad4899efb2f3054ec0d676e41a85e01d8f806 (patch)
tree0db9018d6d7e3c6caa71fe4710e94e25021e041d /conf
parent3ee5d97e4de4356d416dad28239324ab757ec27a (diff)
downloadmeta-boot2qt-1a9ad4899efb2f3054ec0d676e41a85e01d8f806.tar.gz
Add support for creating QBSP package
QBSP is a Qt specific Board Support Package that can be installed with the Qt SDK or MaintenanceTool and contains a system image and a toolchain. The toolchain is automatically registered to the QtCreator. The recipes used for creating the system image and the toolchain can be configured with QBSP_IMAGE_TASK and QBSP_SDK_TASK. The files wanted for the system image can be further configured with QBSP_IMAGE_CONTENT, with a list of files located in DEPLOY_DIR_IMAGE folder. By default, .img and .conf files are used from the selected image recipe. QBSP_INSTALLER_COMPONENT defines the location in the Qt installer tree where the QBSP is shown and QBSP_VERSION defines the version for the components. The QBSP is installed to path defined by QBSP_INSTALL_PATH. The regular SDK creation can now reuse the same image package .7z, so update upload script to use it instead of creating new package. Task-number: QTBUG-57018 Change-Id: Id1e7cc4ab3998a7d450f23ed603b8e676b314d63 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/b2qt.conf5
-rw-r--r--conf/distro/include/emulator.conf2
-rw-r--r--conf/distro/include/tegra-t18x.conf5
3 files changed, 12 insertions, 0 deletions
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf
index de7381e..4a8f73b 100644
--- a/conf/distro/b2qt.conf
+++ b/conf/distro/b2qt.conf
@@ -80,6 +80,11 @@ PACKAGE_EXCLUDE_COMPLEMENTARY ?= "qtquickcompiler"
80IMAGE_FSTYPES = "conf" 80IMAGE_FSTYPES = "conf"
81IMAGE_CLASSES += "image_types_sdcard deploy-conf" 81IMAGE_CLASSES += "image_types_sdcard deploy-conf"
82 82
83QBSP_IMAGE_CONTENT ?= "\
84 ${IMAGE_LINK_NAME}.img \
85 ${IMAGE_LINK_NAME}.conf \
86 "
87
83LICENSE_CREATE_PACKAGE = "1" 88LICENSE_CREATE_PACKAGE = "1"
84COPY_LIC_MANIFEST = "1" 89COPY_LIC_MANIFEST = "1"
85 90
diff --git a/conf/distro/include/emulator.conf b/conf/distro/include/emulator.conf
index d7cb2c3..a5b95b5 100644
--- a/conf/distro/include/emulator.conf
+++ b/conf/distro/include/emulator.conf
@@ -32,6 +32,8 @@ IMAGE_ROOTFS_ALIGNMENT = "1048576"
32ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" 32ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
33IMAGE_FSTYPES = "ext3" 33IMAGE_FSTYPES = "ext3"
34 34
35QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd"
36
35MACHINE_EXTRA_RRECOMMENDS += "\ 37MACHINE_EXTRA_RRECOMMENDS += "\
36 kernel-module-snd-intel8x0 \ 38 kernel-module-snd-intel8x0 \
37 " 39 "
diff --git a/conf/distro/include/tegra-t18x.conf b/conf/distro/include/tegra-t18x.conf
index ebdb63b..80f4d57 100644
--- a/conf/distro/include/tegra-t18x.conf
+++ b/conf/distro/include/tegra-t18x.conf
@@ -33,6 +33,11 @@ TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM"
33DISTRO_FEATURES_DEFAULT += "wayland" 33DISTRO_FEATURES_DEFAULT += "wayland"
34IMAGE_FSTYPES += "tar.gz" 34IMAGE_FSTYPES += "tar.gz"
35 35
36QBSP_IMAGE_CONTENT = "\
37 ${IMAGE_LINK_NAME}.tar.gz \
38 Image \
39 "
40
36KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/kernel")}' 41KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/kernel")}'
37PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' 42PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}'
38NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" 43NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer"