summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Move qt5 sdk creation bits to new bbclassSamuli Piippo2016-02-011-0/+61
| | | | | | Change-Id: I6d00c21fa04e77db60c7c48ad6ba10eacad00b42 Reviewed-by: David Schulz <david.schulz@theqtcompany.com> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Fix up toolchain packaging for Windows hostsDavid Schulz2016-01-141-0/+46
| | | | | Change-Id: Idb7af9308e702b4ef5f26e6423cfa270f8c036e5 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Generate deploy conf for flashing wizardSamuli Piippo2015-12-021-0/+37
| | | | | | Change-Id: I23cc54e51b7d10db0fd64d6676bd86cdf029beda Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Create .img binary image for all devicesSamuli Piippo2015-12-011-4/+16
| | | | | | | | | Use the sdcard bbclass from meta-fsl-arm to build binary image for TI hardware. Append all other image creation functions to create the .img symlink. Change-Id: I1bb0b5ea893789831d6fae27ece93ce238bfcb49 Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* qtquickcompiler: add dev packages to toolchainSamuli Piippo2015-11-021-1/+3
| | | | | Change-Id: If6fa08858c0ab19e92c45623f7dcdcf3d8985c1a Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* qt5: add qt5-module.bbclassSamuli Piippo2015-10-191-0/+1
| | | | | | | | Upstream does not yet have the qt5-module.bbclass, until the change gets merged, add our own bbclass. Change-Id: Iea906d38a23024467a769210667fc32f4375419f Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* bootfs: make sure deploy dir exists before using itSamuli Piippo2015-08-171-0/+1
| | | | | Change-Id: I70c8b9d41c3c67b83cf2b4200803c9d71ce93d52 Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
* Change all tab characters to spacesSamuli Piippo2015-08-112-16/+16
| | | | | | | Gerrit Sanity Bot does not like tabs, so remove them from recipes. Change-Id: Ic0bede29c9a4a01a2bd816e6771fafd76b2323e2 Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
* qtquickcompiler: disable for BYOSSamuli Piippo2015-06-171-12/+33
| | | | | | | | | QtQuickCompiler sources are not distributed, so for BYOS builds we need to disable. For now, only print note that it's not supported. Next step is to try to use the precompiled version from SDK. Change-Id: I8185e66fd2bc6471218ee3ea8520fa40c2c08592 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Support BYOS for enterprise only addonsSamuli Piippo2015-06-171-3/+12
| | | | | | | | | When QT_SDK_PATH has been set, use sources for all enterprise addons from the SDK installation path. This allows customers to build enterprise only addos and b2qt addons without access to qt-gerrit. Change-Id: I66ad8a2ff81628333ba7dd6042659c3fa220be8c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Enable Qt Quick CompilerSamuli Piippo2015-05-121-0/+13
| | | | | | | | | Build Qt Quick Compiler and use it for VKB and QtCharts. Use BBCLASSEXTEND to build all 3 version (target, native and nativesdk) of Qt Quick Compiler. Change-Id: I611fe7762b8d9124b146b7fe976f09130d5912fa Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Merge remote-tracking branch 'origin/stable' into devSamuli Piippo2014-11-244-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/stable: toolchain: include base-files Update meta-fsl-arm-extra to fix u-boot-boundary fetch failure Install fonts with help of Yocto recipes bbb: remove preferred version for SGX Update Qt logo Remove u-boot-fw-utils Change copyright notice Conflicts: b2qt-init-build-env conf/distro/include/beaglebone.conf recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb Change-Id: I5b22412d0530e70057f705da34247803498ddde3
| * Change copyright noticeRainer Keller2014-10-063-3/+3
| | | | | | | | | | | | | | URL points to qt.io Change-Id: I921e1f1ff506bff840cd13ed4bac21238347d98f Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* | Enable to use sources from Qt SDKSamuli Piippo2014-10-171-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | This enables sources to be fetched from the Qt SDK, if available, instead of internal git repositories. Required for BYOS customers to build B2Qt things. Git repositories in SRC_URI are configured with 'local-uri' parameter, that defines the path to the source code directory inside the Qt SDK. The base path to Qt SDK is set in local.conf when setup-environment.sh in run. Change-Id: I7f5e96fb6b9e9e55cac9d50cefb17830618193b8 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* | Create subfolders if necessaryRainer Keller2014-09-091-1/+1
|/ | | | | Change-Id: Ibf940d835ab9b2edf54da818811e1aa23172e3b5 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* bootfs: correctly check for empty defineSamuli Piippo2014-05-061-1/+1
| | | | | Change-Id: Iece54b106059bfba07adfbd84a1ae76b9104b43f Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* bootfs: need to use fakeroot for tar'ingSamuli Piippo2014-03-281-1/+1
| | | | | | | | | Unpacking the boot.tar.gz file using sudo caused error: "Cannot change ownership to uid 1000, gid 1000: Operation not permitted" Now using fakeroot to not record my uid to the files. Change-Id: I1a953e5e363a0d9fbb914cfa8837d888421d8e14 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* Create boot.tar.gz as part of the image buildSamuli Piippo2014-03-261-0/+51
| | | | | | | | | Each machine config defines what is included in the boot.tar.gz package. For beaglebone, include the uEnv.txt u-boot script that is used to start up the device. Change-Id: Ia509dd61c789fda53889cea8ea9221cfa8b469a9 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Fix emulator hdd image buildingSamuli Piippo2014-02-131-2/+3
| | | | | | | | | Remove nostamp so that symbolic link is not updated, when boot-directdisk has not been updated. Otherwise we ended up with broken link. Change-Id: I27a51047e74861f034fbf3f15f9cf29fd20b142b Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* Update copyright year to 2014Samuli Piippo2014-02-042-2/+2
| | | | | Change-Id: Ic3045b02350916c686cb1b011550c299ca082f06 Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* upgrade emulator componentsSamuli Piippo2014-01-301-17/+2
| | | | | | | | | - kernel 3.10 - LLVM 3.3 - mesa 9.1.6 Change-Id: Ib15c6826ab480e39e4efb7a16d42030b55ad6c3b Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* Add license header to all recipesSamuli Piippo2013-11-252-0/+44
| | | | | | Change-Id: I726d154e54a43d2561969d789709895d4c594da9 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
* Move kernel console to ttyS0 for emulatorSamuli Piippo2013-11-151-0/+16
| | | | | Change-Id: I881e4423d22e70ddd658d29b554c62c1fa4924fb Reviewed-by: Rainer Keller <rainer.keller@digia.com>
* Add emulator config filesSamuli Piippo2013-07-082-0/+25
| | | | | | | | - build for x86, similar to qemu - use direct disk image type for virtualbox Change-Id: I4fa29d3efc9c3f0e1dd1cede405bb2efa9cff133 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
* Add support for sdcard imagesSamuli Piippo2013-05-061-0/+5
Create also sdcard images that can be easily dd'ed to memory card. Image type created for imx6 works also in beagleboard when first partition is marked as bootable. Change-Id: I45323de442187c67867be31f80f1cdef43a12a9e Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>