summaryrefslogtreecommitdiffstats
path: root/meta-agl-distro
AgeCommit message (Collapse)AuthorFilesLines
2017-07-05Fix for image format dependencies during parsingdab_3.99.2dab/3.99.23.99.2Jan-Simon Möller1-7/+11
local.conf is evaluated first before the distro configuration. This caused issues while parsing the IMAGE_FSTYPES. The same set of IMAGE_FSTYPES did not throw the same switches deep in the other recipes. We define AGL_EXTRA_IMAGE_FSTYPES and AGL_EXTRA_INITRAMFS_FSTYPES for use in conf/local.conf or the device templates which are added early on-top of the defaults: AGL_DEFAULT_IMAGE_FSTYPES ?= "tar.xz ext4.xz" (tar.xz for direct use, ext4.xz for direct use and CI) AGL_DEFAULT_INITRAMFS_FSTYPES ?= "ext4.gz" (format for initramfs/initrd with smack labels) Both sets can be overridden in the device configuration / template. Device templates have been adapted accordingly. Bug-AGL: SPEC-492 Change-Id: I962ee8cc461b307b494d13ce3a3ebca154bebc86 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10049 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2017-06-29Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.confJan-Simon Möller1-0/+4
This changeset fixes the case of the rpi-sdimg which was broken by the IMAGE_FSTYPE setting introduced in poky-agl.conf (distro-wide). A new variable AGL_EXTRA_IMAGE_FSTYPES is available now and only used in AGL (target) images. Reasoning for this solution: - any modifications to IMAGE_FSTYPES will also affect things like the initramfs or initrd images. - we minimized the disk-space requirements by reusing the ext4.xz for the rpi-sdimg Bug-AGL: SPEC-492 Change-Id: I07fd51dbcf334653cd6033b7ccb663c4d4ed8578 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9927 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-28Enforce same IMAGE_FSTYPES across all boards for AGLJan-Simon Möller1-0/+9
This changeset enforces the same output images across all boards to be ext4.xz and tar.xz . No exceptions. Reasons: disk space, unification of instructions, download size Bug-AGL: SPEC-492 Change-Id: I41c92ba1d92a6e5854cea470eea6e0b559945d5d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9813 Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> (cherry picked from commit be141be78efd87a910f03b83f7f89e5b2690d17f) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9869
2017-06-26Bump DISTRO_VERSION for DD rc2Jan-Simon Möller1-2/+2
This changeset modifies the distro configuration to reflect DD rc2 . Change-Id: If02e69819e4007aaf7fbc220c662b64757c24b6c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9809 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-09Enable SOTA for supported architecturesAnton Gerasimov1-3/+0
SOTA was temporarily disabled becaused it caused build errors Change-Id: I57f1704c3cacf08cda6cb6a0fa4ec1fe0df305f3 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9657 Reviewed-by: Martin Kelly <mkelly@xevo.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-01Add support for cflags for pi0/1Jan-Simon Möller1-1/+10
Change-Id: I36f09230305ce19905b80f90beae7021f301bddf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9593 Reviewed-by: Martin Kelly <mkelly@xevo.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-05-25Add override for DISTRO_CODENAMEdab_3.99.1dab/3.99.13.99.1Jan-Simon Möller1-0/+1
This is used for recipe pinning. Change-Id: I4835fc4005d63aa9dc4cfbc1a25ddc77caad8a2f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9519
2017-05-23Bump version for DARING DAB rc1Jan-Simon Möller1-1/+2
This bumps the DISTRO_VERSION to 3.99.1 as RC1 of DARING DAB. Also introduce DISTRO_BRANCH_VERSION_TAG to be used in bbappends for SRCREV_dab to pin the AUTOREV's . Change-Id: I1a38883dadcd102898ac29f14ee58645bd398ba0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9465 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-05-16Fix build of mozjs, gpm and libatasmart due to SECURITY_%FLAGSJan-Simon Möller1-0/+9
The three packages fail to build on at least 3 boards. Move to the distro config for now and track investigation in SPEC-593. Bug-AGL: SPEC-593 Change-Id: I97d55b6b34ea18fae943ab6bd89c88088896f2ac Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9379 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: José Bollo <jobol@nonadev.net>
2017-05-09x86_64-tune: fix KVM qemu optionsMartin Kelly1-0/+2
When using runqemu with KVM enabled, qemuboot.conf uses QB_CPU_KVM_x86 and QB_CPU_KVM_x86-64 instead of QB_CPU_qemux86-64. Without this fix, the boot fails because the generic KVM CPUs don't support what Nehalem does. Change-Id: Ic7d160528c5aebfb835362f3ad3c2da2dc44c2c4 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9329 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-06Enforce unified tunings across all target boards of AGLJan-Simon Möller5-20/+95
DEFAULTTUNE is a setting that should be defined in the DISTRO. So we do it here. Goal is to have just 3-4 SDKs in the end. We use these levels: - ARM 32bit high: armv7vethf-neon-vfpv4 (=default for ARM 32bit) - ARM 32bit medium: armv7athf-neon (enabled via DISTRO_FEATURE_append = " agl-medium-arm-compiler") - AARCH64: aarch64 (=aarch64, no other tunings) - x86-64: corei7-64 (=corei7-64 also for qemux86-64) v2: Fix qemu user-mode emulation on x86-64 and adapt qemux86-64 tune flags. See: https://goo.gl/DMaBJ9 Bug-AGL: SPEC-491 Change-Id: Iababbe38a531d546c03f695847651f2d83301b9a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9299 Reviewed-by: Martin Kelly <mkelly@xevo.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-04-25Temporary fix for the agl-sota featureJan-Simon Möller1-0/+3
until meta-updater applied the change. https://github.com/advancedtelematic/meta-updater/pull/56/commits/f76663ba97b055a7a063221e4a7992330e692a3c Change-Id: I45d47be4ff71d7dd4e3875abdfb688f2cc6c5adf Bug-AGL: SPEC-561 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9219
2017-04-25poky-agl: exempt qtwebengine from security flagsMartin Kelly1-0/+3
qtwebengine does not build with the standard security flags; it doesn't build cleanly with -fPIE and needs a bugfix to do so. To at least unblock the build, exempt it from PIE for now. Bug-AGL: SPEC-560 Change-Id: Iac39ecd429df00c30c24032037c6dcf3254b77c2 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9157 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-18Set a weak distro-wide DEFAULTTUNE for ARM 32bitJan-Simon Möller1-0/+3
This is a weak (aka 'default' or 'only if not previously set') value for DEFAULTTUNE for ARM 32bit. The value will in the future take precedence over the BSPs as BSPs should not enforce it. Instead the DISTRO is supposed to pick one. Bug-AGL: SPEC-491 Change-Id: Iaadf9cf4704c04c81c9d1ffed283b444a9e10512 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-09LLVM3.3 build fix on qemux86-64Jan-Simon Möller1-1/+2
The build for qemux86-64 will fail on llvm3.3 b/c of the SECURITY_CFLAGS and SECURITY_LDFLAGS (due to -fstack-protector-strong). Fix it by blacklisting the flags for llvm3.3 . Change-Id: I506c398521b59877d78e56d698571e272b52e94a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-29Fix version of gst-omxTadao Tanikawa1-7/+7
There is no 1.8.x of gst-omx. (next version of 1.2.0 is 1.9.x) And "1.8%" for gstremaer and plugins is something ambiguous, "1.8.%" would be better. Change-Id: I71c7d5d7d6a406a03390231801a33eb6d60586cd Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-03-28Re-enable security flags proposed in PokyStephane Desneux1-1/+1
This security feature was initially enabled by commit a1e6f20 but it has been disabled later by commit 85844f4. Bug-AGL: SPEC-501 Change-Id: Ic30065a9b3d599adb97bcca78c5863e47fc11920 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-08Splice out distro configuration in own layer for compatibilityJan-Simon Möller3-0/+113
Upstream is working on guidelines for DISTRO and BSP layers. One outcome is the yocto-compat-layer tool. A requirement for BSP and DISTRO layers is that they are single-purpose aka just defining the distro and only defining the BSP. To comply with this, move the distro out into meta-agl-distro and adapt the templates. Bug-AGL: SPEC-472 Change-Id: I921127edc78e677bd75d42a793f0b3708a54dd79 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>