summaryrefslogtreecommitdiffstats
path: root/meta-boot2qt/classes
Commit message (Collapse)AuthorAgeFilesLines
* Move function to more appropriate placeSamuli Piippo2019-01-112-4/+4
| | | | | | | Move the common function to a common bbclass. Change-Id: Ifb4e48a284b9bf6026ab644049e61016e3eef04b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Add configs for mips and mips64 CI toolchainsSamuli Piippo2019-01-111-0/+36
| | | | | | | | | | Add include files for building mips and mips64 toolchains for CI usage. gcc-sanitizers are not available on mips, so filter those out. Task-number: QTQAINFRA-2535 Change-Id: I6a90a95169985020b7eac01344c61789fe9cac49 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Use ABI flavor with QtCreatorSamuli Piippo2018-12-182-2/+3
| | | | | | | | | | | QtCreator 4.8 allows adding new ABI flavors that can be used to differentiate otherwise identical tools. Using our own abi flavor prevents QtCreator from mixing incompatible tools with one from yocto toolchain. Task-number: QTAUTO-793 Change-Id: Ibba6e42b25e404aff2a20a021fe7833455f0de9b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Remove default expansion parameter from getVarv5.12.0-rcSamuli Piippo2018-11-214-12/+12
| | | | | | | | getVar defaults to expanding the variable, the second True parameter is unnecessary. Change-Id: Iafaf179c67ffedaba2946c078c1810a80198cf5e Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* toradex: fix problem with basehash in teziSamuli Piippo2018-11-201-1/+1
| | | | | | | | Fix "basehash value changed from ... to .... The metadata is not deterministic and this needs to be fixed." Change-Id: Ie0db660d07babde22698dc4159fcf554ef64e36b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* sdk: include environment-setup script in mingw toolchainSamuli Piippo2018-11-161-1/+1
| | | | | | | Inlude all files in the root of the toolchain. Change-Id: I261055f1d17f719e15d6708658097a5f538c0106 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* sdk: fix linker flagsSamuli Piippo2018-11-011-1/+1
| | | | | | | | | Add back the target specific compiler flags to the LFLAGS. Task-number: QTBUG-71532 Change-Id: I1011abd6f5e33f2926db50c49475b70014c55616 Fixes: QTBUG-71532 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* sdk: remove unneeded compiler flagsSamuli Piippo2018-10-301-13/+8
| | | | | | | | TARGET_CFLAGS has compiler flags that are not required for the toolchain to work, but adds unnecessary complexity. Change-Id: I8532e7591a5bc85ff243b4e268ba3157b08202c8 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* cmake: fix cmake configurations for QtCreatorSamuli Piippo2018-10-301-3/+5
| | | | | | | | | | Include cmake and make as explicitly to the toolchain. Fix nativesdk-cmake compilation for mingw toolchain. Add CMake registration code to the QBSP installer scripts. Task-number: QTBUG-71315 Change-Id: If29e12d6ce24546ba8a834969b6f60e3216e6962 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: add Qt version to the QBSP file nameSamuli Piippo2018-10-301-2/+2
| | | | | Change-Id: I343ac6b008044d31ea97c436d34eaed5d6f94819 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* toradex: fix problem with basehash in teziSamuli Piippo2018-10-261-0/+3
| | | | | | | | | | | | The tezi image uses DATE value but does not exclude it from basehash calculation, which leads to build error: "basehash value changed from ... to .... The metadata is not deterministic and this needs to be fixed." Re-apply the fix as it's still not correctly fixed in toradex layers. Change-Id: I0e835db98e812c4af23e01215b045ba1a7298753 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* QBSP: add check for supported host systemSamuli Piippo2018-10-231-0/+2
| | | | | | | | | | Warn user if they try to use windows QBSP on a linux system or vice versa. Set package as Default, so they are selected automatically when using command line options, and disable components if host system is not compatible so that user cannot continue with the installation. Change-Id: I84d963b8faee00c6fbaa622cb7347606a18c7c6f Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* renesas: support for RCar-3 D3 DRAAKSamuli Piippo2018-10-101-0/+4
| | | | | | | | | | | | | meta-renesas has support for the D3 Draak board only in version Renesas-Yocto-v2.22.0.1_D3 version. Other Renesas boards are already using more recent verions. Checkout the D3 specific version in a different directory, so that all Reneasas boards can be supported. renesas-rcar-gen3 repo has been updated with D3 drivers from D3_Linux_2.23.01_BSP_3D BSP package. Task-number: QTBUG-68925 Change-Id: If8283d31945b375ce4256a15132e185e0d676800 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* intel: update to sumoSamuli Piippo2018-09-281-87/+0
| | | | | | | | | | Update meta-intel layer to the latest revision on sumo branch and make the necessary adaptations. Use WIC for the image creation and remove previously used classes that are no longer needed. Mesa is now recent enough, removing all existing recipes. Change-Id: I747505ac25397a0b2f0a811bb9a7c5e5e1a53cfe Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* emulator: adapt to sumoSamuli Piippo2018-09-282-53/+5
| | | | | | | | - Use WIC for image creation - Update VirtualBox components Change-Id: I48d76906a66477ec844cbdc37c919079a9bd949b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* poky: update to 2.5 branch (sumo)Mikko Gronoff2018-09-282-11/+7
| | | | | | | | | | | | | | | | | Update yocto from 2.3.4 (pyro) to 2.5.1 (sumo): - Update poky, meta-openembedded & meta-mingw to sumo branch - update image classes (obsolete IMAGE_DEPENDS definitions) - Update bbappends under meta-boot2qt-distro - Update meta-*-extras layers bbappends & patches All recipes related to nitrogen6x are fixed here, but this depends on follow up commits to work correctly. Task-number: QTBUG-68681 Change-Id: Ic5802c5c1a3989bed746f96f8cf173743ec755bb Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Merge remote-tracking branch 'origin/pyro' into sumoSamuli Piippo2018-09-102-1/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/pyro: (29 commits) meta-qt5: update layer qt5: Enable Link Time Optimization toradex: add Qt marketing slides toradex: add support for colibri-imx6ull rpi: include mcp2515 overlay for CAN support qtdeviceutilities: update to latest version boot2qt-demos: update revision boot2qt-addons: update components meta-qt5: update layer boot2qt-launcher: update to latest version qtdeviceutilities: update to latest version Do not use Link Time Optimization boot2qt-demo: update demo videos qtquicktimeline: fetch from public repository boot2qt-demos: no need to patch demos anymore Don't use git folder to check if we are using SDK sources toradex: include easy installer file in the release 7z toradex: Add Boot2Qt material to the Tezi image meta-qt5: update layer qt5: update submodules ... Change-Id: I23e9b0a018328d7be1441616c07c526e2db61be2
| * toradex: Add Boot2Qt material to the Tezi imageSamuli Piippo2018-08-201-0/+18
| | | | | | | | | | | | | | | | | | | | Make the image recipe's summary more descriptive as it's shown in the easy installer. The Boot2Qt EULA is shown to user before the image can be installed. Task-number: QTPM-1427 Change-Id: I1039bdc0756a94922a93bd87fa5eb0193237285f Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>
| * emulator: build hdd image in correct phaseSamuli Piippo2018-08-151-1/+1
| | | | | | | | | | | | | | | | hdd image need to be done before do_image_complete, since that's the phase is used in qbsp class. Change-Id: I49a84b1c2311dbb3d3fbc1a40915adb801e33cd3 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* | configure-qtcreator: Add CMake support for QtCreatorTuomas Heimonen2018-09-101-0/+11
| | | | | | | | | | | | | | | | Add CMake tool to QtCreator configure script Task-number: QTPM-766 Change-Id: I1105284c532fc872cb622781ef1b3ab8b02a478d Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | qt5: support feature files generated by Qt Configuration ToolSamuli Piippo2018-09-101-0/+40
|/ | | | | | | | | | | | | | | | | Qt Configuration Tool can be used to generate feature files for each Qt module, which contain enabled and disabled feature flags. This bbclass can be used to enable bitbake to use those files to configure Qt modules more thoroughly. These options will override any PACKAGECONFIG options that might conflict. Use by inheriting the qt5-features in a qt module recipe (using bbappend), which you want to configure. By default the bbclass expects the feature files to be named according to the Qt modules names (QtBase -> qtbase.opt) and placed in a 'features' subfolder next to the recipes. Task-number: QTBUG-68950 Change-Id: Ie580512346a5eb09cd65afc7474b5a88f1416a56 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* Merge remote-tracking branch 'origin/morty' into pyroSamuli Piippo2018-05-091-2/+6
| | | | | | | | | | * origin/morty: poky, meta-mingw: update to latest revision in morty branch qtdeviceutilities: update to latest version Add product name and Qt version to image conf Revert "Add appman versions of Kit and Qt to creator" Change-Id: I3c0e48b7c9202a7b0081f3c56966af3283cf2650
* tegra: include tegra flasher utils into release imageSamuli Piippo2018-04-171-1/+22
| | | | | | | | | | | | | | Since the sd card image won't bootup on a device which has been flashed with different version of L4T, include flasher utils that can be used to flash the image into the device as well. The new prepare-image.sh script will use the SD card image to create an image that can be flashed into the device. This saves user from downloading matching image from NVIDIA or bitbaking a flashable image. Change-Id: I28cdcd10a531eaf9fd511565e2542bd0d81541b6 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* Add QMLPreview and QtQuickTimeline modulesSamuli Piippo2018-03-221-1/+1
| | | | | | | | | | | | | The Timeline and the QML live preview are introduced as part of the Qt Quick Designer NG project/initiative. Since the sources are not available publicly, modules are included in the image only when building internally in Qt Company network, where it's assumed that user has access to the private repos in codereview. Task-number: QTBUG-67140 Change-Id: I822d527ff132e89a8c3205e267a88c60c50fb387 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Split meta-boot2qt layerSamuli Piippo2018-03-1215-0/+995
Move distro specific recipes to own layer and leave only new recipes and bbclasses to meta-boot2qt layer. This makes it easier to include meta-boot2qt to your own distro layer to get access e.g., QDB and QBSP recipes that might be useful even without boot2qt distro. Task-number: QTBUG-65871 Change-Id: I6c353774dd1668b00f2d05aa262ad866b90bdef6 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>