aboutsummaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* qbsp: fix replace tagsSamuli Piippo2018-01-261-2/+2
| | | | | | | | | | @TARGET@ was used twice for different things and other tags were used with wrong content. Installer content now follows closer to the online content. Task-number: QTBUG-66010 Change-Id: I6a10f765fa582da2025134f268c6ee35b74ac8c6 Reviewed-by: Ilari Ängeslevä <ilari.angesleva@qt.io>
* internal-build: prepend mirror variablesSamuli Piippo2017-12-191-2/+2
| | | | | | | This lets us use other mirrors in addition to the internal ones. Change-Id: I0ef1de6c4eab72dedb9bbce6a3fcadfaa79d3404 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: various improvements to qbsp creationSamuli Piippo2017-11-171-1/+2
| | | | | | | | | | Now using the same component name and installation paths as are done with components from online installer. Modify the component description from recipe, so it's different for boot2qt and automotive qbsps. Change-Id: Ie43fa00e438b9ec2e219eda052f728e7c0754644 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: update installer-frameworkSamuli Piippo2017-11-161-1/+8
| | | | | | | | | Use latest release from publicly available server. Search files for QBSP_IMAGE_CONTENT from alternative locations. Task-number: QTBUG-64522 Change-Id: I64fd9f28640db996d908dc74b48cf0f462d74b52 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtquickcompiler: fix path for QT_HOST_BINSSamuli Piippo2017-09-261-1/+1
| | | | | | | | | | Bitbake builds need to use QT_HOST_BINS/get for getting the correct path to the host tools. Change it for qtquickcompiler.prf so that project can use CONFIG+=qtquickcompiler without need to have CONFIG+=no_qtquickcompiler_depend as well. Change-Id: I5196e06f249531833fccca6b0b6a213016270ab6 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* sdk: fix host_build QT_ARCHSamuli Piippo2017-09-151-0/+9
| | | | | | | | | | | | | | | mkpecs/qconfig.pri defines QT_ARCH and QT_BUILDARCH separately for host_build and target build and both of these were always set to target architecture. This cause issues in the SDK, if component tried to build host tools using these values, which qtwebengine does. Fixed now, so that the host_build variants are taken from the nativesdk's mkspecs/qconfig.pri. Task-number: QTBUG-63155 Change-Id: I44644c97d634dac6297e28cc851fc31f7eaf1f90 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Fix DNS for Qemu running on b2qt toolchain sysrootSami Nurmenniemi2017-08-241-0/+3
| | | | | | | | | | | | The b2qt toolchain had broken link in sysroot/etc/resolv.conf. It was pointing to ../run/resolv.conf which is correct on actual device that gets the file dynamically from systemd. That file is never created for the toolchain and DNS operations fail. This change removes the link from the toolchain. Task-number: QTBUG-62580 Change-Id: I52098e667a9190e300a06b777f9fac778a545faf Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Remove all *.ci.local network addressesSamuli Piippo2017-08-111-13/+13
| | | | | | | | | The dot-local addresses cause problems with mDNS lookups, replace all with *.intra.qt.io aliases that are now available. Task-number: QTBUG-60153 Change-Id: I60e2e06440ca088d1194615849bf7792c16df362 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* image_dd: remove old boot.img before trying to create itSamuli Piippo2017-05-101-0/+1
| | | | | | | rootfs creation failed if boot.img still existed from previous build. Change-Id: Ib85cc7dbacbc0d0cc7d0700985ad9c52a6ade0df Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* tegra: use GPT partition tableSamuli Piippo2017-05-101-1/+1
| | | | | | | | The tegra u-boot expects sdcard to have a GPT partition table instead of MBR. Task-number: QTBUG-60681 Change-Id: I67b5f4b3ed299ea3d275bbd442ae83aead095db3 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Use qdbd from public repositoryKari Oikarinen2017-05-031-1/+0
| | | | | | | | | Since the repository is public, it can from now on be included in all builds, not just internal. Task-number: QTBUG-60435 Change-Id: I3a322ea6999f48271942d826fd1ff8c56ed67b4d Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Add dependency to p7zip-nativeSamuli Piippo2017-05-023-0/+5
| | | | | | | | Instead of depending on 7z from host, build it natively where needed. Change-Id: Ic15f607d0eb10c6f0af01134be3236c577aeb2bb Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: use correct image pathSamuli Piippo2017-05-021-2/+2
| | | | | | | | .. and make sure that component name does not contain a dash, since that's not supported by IFW. Change-Id: Ie611b4557c18b22ff56b9f1407376e59d7c71b0d Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Update image creation recipes, appends etc. to be poky 2.2 compliantMikko Gronoff2017-03-147-29/+29
| | | | | | | | DEPLOY_DIR_IMAGE macro has been replaced with IMGDEPLOYDIR in poky 2.2. Update all instances to make image creation work. Change-Id: I3740730ded84650d3a3a51b85c77ed4fef863a8a Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Initial morty branch setup for poky & meta layersMikko Gronoff2017-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | New or updated branches: * meta-fsl-arm & meta-fsl-arm-extra layers changes to meta-freescale & meta-freescale-3rdparty (morty) * poky (morty) * meta-openembedded (morty) * meta-qt5 (5.9) * meta-mingw (morty) * meta-tegra (morty) Modified accordingly: * conf/.sample files * classes/image_dd.class * conf/distro .inc files * scripts/manifest.xml Change-Id: Ia8ad563f2f1176882019490f274a6b4bb043475f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Support for NVIDIA Jetson TX1Samuli Piippo2017-02-151-0/+19
| | | | | Change-Id: Ic84d78d201c48aff296715fa6ce0a7ea5e5921c3 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qtquickcompiler: add way to disable use of qtquickcompilerSamuli Piippo2017-02-131-0/+3
| | | | | Change-Id: Ieb496554ae495c9889a94ca8b75a4139ed26818d Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Use 7zr instead of the full 7z binarySamuli Piippo2017-01-023-7/+7
| | | | | | | | 7zr is already available is some distros without need to install additional utils. Change-Id: Iabcbf98b3db66d04ab7c16b3316d6ff309ec90cc Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* qbsp: add separate license componentSamuli Piippo2017-01-021-33/+54
| | | | | | | | | | | Add license component that can be used to show EULA or similar license terms to user before installation. As an example, the NXP EULA is used for all imx based devices. Task-number: QTBUG-57413 Change-Id: Ib593a14ff713a637082a665e7a33a48f1394e37a Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* qt5: update submodulesSamuli Piippo2016-12-141-1/+1
| | | | | | | | Enable QtQuickCompiler after fixes landed in QtDeclarative and QtQuickCompiler Change-Id: I339b72fe83316499bdccaf2ae484db63d87c6ed9 Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
* qt5: update submodulesSamuli Piippo2016-12-091-1/+1
| | | | | | | | | Needs updates for meta-qt5 and meta-mingw Temporarily disable QtQuickCompiler (QTRD-2219) Change-Id: I089e4b4ce56030a37ee42324c13d43bade492bf3 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Add support for creating QBSP packageSamuli Piippo2016-11-212-0/+204
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Add qdbd to the imagesKari Oikarinen2016-11-101-0/+1
| | | | | | | | | | | | | It's only included in internal builds, since the repository is not public. qdbd not started by default, ADB is still the default. It can be started with `systemctl start qdbd`. It can be started in future boots with `systemctl enable qdbd`. Task-number: QTBUG-56069 Change-Id: I71340cdb31de823e1375986d34f2f07e7be5971b Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* emulator: boot-directdisk was merged with image-vmSamuli Piippo2016-09-121-10/+5
| | | | | Change-Id: I4b899dac24895ebd6ac9da1258f177faa4acac74 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* mingw: skip symlinks pointing to directoriesSamuli Piippo2016-09-121-4/+1
| | | | | | | | | gphoto2 has a infinite loop caused by a symlink, which breaks the mingw toolchain creation. Instead of adding more checks, skip all directories. Change-Id: Iec4fb96da12874dcc4939ca8a8af1f956ef3d164 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* bootfs: make sure DATETIME is not used for sstate hashSamuli Piippo2016-09-121-0/+1
| | | | | | | Fix error Taskhash mismatch Change-Id: I28132764303660dfc4db8b13e4bc447f4deb447e Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Merge remote-tracking branch 'origin/jethro' into devSamuli Piippo2016-08-252-10/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/jethro: Update meta layers Reuse qt5-git.inc in automotive recipes ota: update recipe Correctly update qtquickcompiler SHA1 Reuse qt5-git.inc to define git repo location Remove automotive recipes Update Qt5 submodules Handle qtquickcompiler in update-qt5-modules.sh script qtwebbrowser: update source uri Correctly use QtQuickCompiler when available gammaray: update revision to match gammaray plugin in QtC 4.1 Fix adb to toradex-imx6 image Change git protocol from ssh to http Update qtdeclarative module Update boot2qt-demos version Change-Id: I1665b538bcd12a0dffb6403a6d387eebb100c762
| * Merge remote-tracking branch 'origin/fido' into jethroSamuli Piippo2016-08-222-10/+11
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/fido: Correctly update qtquickcompiler SHA1 Reuse qt5-git.inc to define git repo location Remove automotive recipes Update Qt5 submodules Handle qtquickcompiler in update-qt5-modules.sh script Correctly use QtQuickCompiler when available Change git protocol from ssh to http Update qtdeclarative module Update boot2qt-demos version Conflicts: conf/distro/b2qt-auto.conf recipes-qt/automotive/gammaray_git.bb recipes-qt/automotive/neptune-ui/neptune.service recipes-qt/automotive/neptune-ui_git.bb recipes-qt/automotive/qtapplicationmanager_git.bb recipes-qt/automotive/qtivi_git.bb recipes-qt/automotive/qtwebbrowser_git.bb recipes-qt/b2qt-addons/b2qt-demos.bb recipes-qt/b2qt-addons/b2qt-launcher.bb recipes-qt/b2qt-addons/democompositor_git.bb recipes-qt/images/b2qt-automotive-qt5-image.bb recipes-qt/meta/meta-toolchain-b2qt-automotive-qt5-sdk.bb recipes-qt/qt5-addons/qtvirtualkeyboard_git.bb recipes-qt/qt5/nativesdk-qtbase_git.bbappend recipes-qt/qt5/qt3d_git.bbappend recipes-qt/qt5/qtbase-native_git.bbappend recipes-qt/qt5/qtbase_git.bbappend recipes-qt/qt5/qtcanvas3d_git.bbappend recipes-qt/qt5/qtcharts_git.bb recipes-qt/qt5/qtconnectivity_git.bbappend recipes-qt/qt5/qtdatavis3d_git.bb recipes-qt/qt5/qtdeclarative-render2d_git.bb recipes-qt/qt5/qtdeclarative_git.bbappend recipes-qt/qt5/qtgraphicaleffects_git.bbappend recipes-qt/qt5/qtimageformats_git.bbappend recipes-qt/qt5/qtlocation_git.bbappend recipes-qt/qt5/qtmultimedia_git.bbappend recipes-qt/qt5/qtquickcompiler_git.bb recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bbappend recipes-qt/qt5/qtsensors_git.bbappend recipes-qt/qt5/qtserialbus_git.bb recipes-qt/qt5/qtserialport_git.bbappend recipes-qt/qt5/qtsvg_git.bbappend recipes-qt/qt5/qttools_git.bbappend recipes-qt/qt5/qttranslations_git.bbappend recipes-qt/qt5/qtvirtualkeyboard_git.bb recipes-qt/qt5/qtvirtualkeyboard_git.bbappend recipes-qt/qt5/qtwayland-native_5.7-wip.bb recipes-qt/qt5/qtwayland-native_git.bbappend recipes-qt/qt5/qtwayland_5.7-wip.bb recipes-qt/qt5/qtwayland_git.bbappend recipes-qt/qt5/qtwebchannel_git.bbappend recipes-qt/qt5/qtwebengine_git.bbappend recipes-qt/qt5/qtwebsockets_git.bbappend recipes-qt/qt5/qtxmlpatterns_git.bbappend scripts/manifest.xml Change-Id: Ibf7f89a35c9e19bd8cf81c49cb44f6fd454838b4
| | * Correctly use QtQuickCompiler when availableSamuli Piippo2016-08-192-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure the we use QtQuickCompiler only when we either have access to the sources (internal gerrit repo) or the prebuilt binaries are available. The internal-build class checks if we are working within The Qt Company network, so we will also have access to the sources. Setting ENABLE_QTQUICKCOMPILER env to "1" in local.conf has the same effect. Otherwise check if the prebuilt binaries are available as installed by the Qt Online SDK. Change-Id: I63b09ebabc96bb14b119ea7472a3fa7b10e5c2a8 Task-number: QTBUG-53052 Task-number: QTBUG-53216 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
| | * qt5: update submodules and meta-qt5Samuli Piippo2016-05-171-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | meta-qt5 now depends on remove-libtool that is available only in oe/jetro, so backport it our layer. Change-Id: I5989ddb25ddecb6c749292d4e3fec63d0f61368f Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* | | ostree support: use EPOCH+1s timestampsGatis Paeglis2016-08-251-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | From OSTree's Release 2016.6 change log: "Use OSTREE_TIMESTAMP (=1) for checked-out files Is a quite interesting change - we previously used a timestamp of zero, but Nix has apparently done better with 1 for various reasons. This is a pretty subtle change, so be on the lookout for regressions." Change-Id: I8349fc52604603faef1c39bf88ba0e6591ae92a1 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* | sdk-source: unpack all other sources firstSamuli Piippo2016-06-101-8/+10
| | | | | | | | | | | | | | | | | | | | Make sure that all the normal src-uris are unpacked before handling the sdk-uris, otherwise the copied files might get removed. Change-Id: Ib9cb3552653c4b9f58bc56e3be599786e9873b40 Task-number: QTBUG-54002 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* | Update license headersSamuli Piippo2016-05-1813-91/+195
| | | | | | | | | | | | | | License changed to GPLv3 + Commercial Change-Id: I267c97216e717ed29071df064337e1bcf83de973 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* | renesas: build sdcard imageSamuli Piippo2016-05-121-1/+1
| | | | | | | | | | | | | | | | | | Use sdcard image class from meta-fsl-arm Task-number: QTAUTO-169 Change-Id: Ie50f49bb377ff5e0887f96a098c7d939c45b10b2 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com> Reviewed-by: Louai Al-Khanji <louai.al-khanji@qt.io>
* | Merge remote-tracking branch 'origin/fido' into devSamuli Piippo2016-05-042-2/+43
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/fido: automotive: update src uris after repos were opened colibri-vf: change partition alignment to 1M Make ABI selection more robust in configure-qtcreator.sh Conflicts: recipes-qt/automotive/neptune-ui_git.bb recipes-qt/automotive/qtapplicationmanager_git.bb recipes-qt/automotive/qtivi_git.bb Change-Id: I86763619f24b40e9ac62a8c1ae84acf4ffeb4be7
| * Make ABI selection more robust in configure-qtcreator.shSamuli Piippo2016-04-212-2/+43
| | | | | | | | | | | | | | | | | | | | Map current TARGET_ARCH to the ABI used by qtcreator. Currently mapping was done by kernel-arch.bbclass and it worked by accident, but it's now broken in jethro. Change-Id: I15c5b60a1bc1dd560685fedac9b61048a1e89266 Reviewed-by: Risto Avila <risto.avila@theqtcompany.com> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | Merge remote-tracking branch 'origin/fido' into devSamuli Piippo2016-04-181-0/+46
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/fido: Move usage of internal mirrors into a bbclass Use --internal arg to fetch playground repos qtquickcompiler: update revision to work with Qt 5.6.1 qt5: update submodules gcc: patch already applied on oe layer Update revisions for poky and openembedded Fix meta-environment to work without changes in local.conf Disabled SSTATE_MIRRORS and PRE_MIRRORS. setup-environment: prevent basename argument being parsed as option. Do not pull internal repos when initializing for all devices Conflicts: conf/local.conf.sample recipes-qt/qt5/nativesdk-qtbase_git.bbappend recipes-qt/qt5/qt3d_git.bbappend recipes-qt/qt5/qtbase-native_git.bbappend recipes-qt/qt5/qtbase_git.bbappend recipes-qt/qt5/qtcanvas3d_git.bbappend recipes-qt/qt5/qtconnectivity_git.bbappend recipes-qt/qt5/qtdeclarative_git.bbappend recipes-qt/qt5/qtgraphicaleffects_git.bbappend recipes-qt/qt5/qtimageformats_git.bbappend recipes-qt/qt5/qtlocation_git.bbappend recipes-qt/qt5/qtmultimedia_git.bbappend recipes-qt/qt5/qtquickcontrols2_git.bb recipes-qt/qt5/qtquickcontrols_git.bbappend recipes-qt/qt5/qtsensors_git.bbappend recipes-qt/qt5/qtserialbus_git.bb recipes-qt/qt5/qtserialport_git.bbappend recipes-qt/qt5/qtsvg_git.bbappend recipes-qt/qt5/qttools_git.bbappend recipes-qt/qt5/qttranslations_git.bbappend recipes-qt/qt5/qtwayland-native_git.bbappend recipes-qt/qt5/qtwayland_git.bbappend recipes-qt/qt5/qtwebchannel_git.bbappend recipes-qt/qt5/qtwebengine_git.bbappend recipes-qt/qt5/qtwebsockets_git.bbappend recipes-qt/qt5/qtxmlpatterns_git.bbappend scripts/manifest.xml scripts/manifest_jethro.xml Change-Id: I17c4dd6890dc4475171133cede4dc7e6217222d6
| * Move usage of internal mirrors into a bbclassSamuli Piippo2016-04-181-0/+47
| | | | | | | | | | | | | | | | Use bbclass to test if the internal sstate and download mirror server is available before enabling them. Change-Id: Ie927bdfca486232e3d3a55009139a9c27ff98aad Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | Backport remove-libtool.bbclass from oeSamuli Piippo2016-04-081-0/+11
| | | | | | | | | | | | | | Used by meta-qt5, but available only in oe/master Change-Id: I60a8f3436a8089f0b8a1b445867d901f3a8dbf70 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | Merge remote-tracking branch 'origin/fido' into devSamuli Piippo2016-03-171-3/+3
|\| | | | | | | | | | | | | | | | | | | * origin/fido: qt5: remove duplicate --sysroot from sdk mkspec colibri-imx6: don't pull in old gstreamer Specify source revision separately Disable ethernet over usb on SMARC-sAMX6i Change-Id: Ic14fccc65d7d30c8400f8fc09bf127fef187bc86
| * qt5: remove duplicate --sysroot from sdk mkspecSamuli Piippo2016-03-171-3/+3
| | | | | | | | | | | | | | | | No need to add --sysroot to QMAKE flags in qdevice.pri, since qconfig.pri does it already. Change-Id: I8a90249e466f8385fb121d69721e118a32b80999 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* | Use consistent mtime timestampsGatis Paeglis2016-03-161-0/+27
|/ | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds consistent_timestamps.bbclass which is a hackish way of resembling reproducible build - byte-for-byte identical binary packages from a given source. Naturally this is not a complete solution, but it fixes the issue described below. Real solution for this should be done by the Yocto project itself. In OSTree each new update is checked out with all files and directories having mtime=0, this breaks fontconfig cache validity check (mtime embedded in the cache should match the containing directories mtime). Yocto generates this cache file in poky/meta/lib/oe/rootfs.py::create by calling self._run_intercepts() after all packages have been installed. These timestamps are nondeterministic as they depend on current system time. By using ROOTFS_POSTINSTALL_COMMAND hook we can ensure that these embedded time stamps have a known time, which is a basic property of reproducible build system. Change-Id: Ib2f130248f2e65db391d2b2f19ab5dac30a2cfb0 Task-number: QTEE-1081 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* qtquickcompiler: add support for BYOS buildsSamuli Piippo2016-03-021-9/+16
| | | | | | | | | Qt Quick Compiler sources codes are not released for customers, so they cannot build it for themselves. Instead copy qtquickcompiler binary from the SDK where we have both linux and mingw binaries available. Change-Id: I697885365d98df394164a15e2517c7c473ac91e5 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Replace symlinks in copied folders.David Schulz2016-02-231-3/+5
| | | | | Change-Id: Idb8548b8f375e56b03b87de000269dd9fd43cb55 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* NUC: Use custom image layoutGatis Paeglis2016-02-231-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new image class 'image_dd', by default it has an empty boot partition. image_dd_efi extends this class to support Intel NUC board. The layout of a generated image is a prerequisite for OSTree integarion. Image generated by 'hddimg' produces rootfs.img (ext3 filesystem file) and then "live" boots it from initramfs by mounting rootfs.img via loop device. For OTA integration we need to access contents of rootfs.img already from boot loader. The custom 'image_nuc_efi' layout allow for fully atomic updates on EFI based system, by keeping GRUB-EFI binary on a dedicated EFI system partition (ESP). OSTree currently is not fully atomic on EFI systems, but with this setup we use GRUB-BIOS code path in OSTree, which is atomic. After EFI firmware has loaded the GRUB-EFI binary, everything else is done on rootfs parition. One limitation from the above scenario is that you would need to update /EFI/BOOT/bootx64.efi (GRUB-EFI) binary manually. Not sure how common it is to update a boot loader binary on a deployed system, but its not impossible. Change-Id: Ibf2840aecd548000372131c4ded5cffa11ff1b0f Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Replace all symlinks in the target sysroot for mingw hosts.David Schulz2016-02-191-8/+18
| | | | | Change-Id: I0a7b95ac2940e4a29112e70c7b29870eb6a6be39 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* qt5: change Qt include pathSamuli Piippo2016-02-181-0/+52
| | | | | | | | | | | When Qt include path is set to /usr/include, host_build will incorrectly include other system headers from the sysroot. To correct this, move Qt include path to /usr/include/qt5, by overriding qmake5_paths.bbclass in our layer. The bblayer order needs to be changed for the correct bbclass to be used. Change-Id: Ie01371662ea0f4718275708a88fb5d301c62fdf7 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Update license headersSamuli Piippo2016-02-099-112/+125
| | | | | Change-Id: Iabcf736e6f4ae2149b57c84ebdc8b5b1be82023d Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Include configure-qtcreator.sh script in the toolchainSamuli Piippo2016-02-051-0/+12
| | | | | | | | ABI and default CONFIG file are set during build, so the script can be called from installed toolchain without any arguments. Change-Id: I533d79864133822f0ea86a39b8c9549280db4c38 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Use 7Zip instead of zip to create the sdk packages.David Schulz2016-02-041-3/+1
| | | | | | | Reduces the package size signifivcantly. Change-Id: I127a37466fa4d5f4cd1e123fbb9b3b4e7bb56ca6 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>