X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-distro%2Fconf%2Fdistro%2Fpoky-agl.conf;h=6dc75998911e125b1c61643fbbb27d4c190e16b4;hb=06b210b0e247a0f66485420cfdb1c0b6447b24c2;hp=ccaae9b2ff20557f5035f2edd527f6974d5972c3;hpb=c46e11751742e92f8ecdc242d59b9ed10e5024c4;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf index ccaae9b2f..6dc759989 100644 --- a/meta-agl-distro/conf/distro/poky-agl.conf +++ b/meta-agl-distro/conf/distro/poky-agl.conf @@ -3,8 +3,9 @@ require conf/distro/poky.conf # AGL specific derivations DISTRO = "poky-agl" DISTRO_NAME = "Automotive Grade Linux" -DISTRO_VERSION = "3.90.0+snapshot-${DATE}" +DISTRO_VERSION = "4.0.0" DISTRO_CODENAME = "dab" +DISTRO_BRANCH_VERSION_TAG = "dab/4.0.0" SDK_VENDOR = "-aglsdk" SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" @@ -15,6 +16,7 @@ TARGET_VENDOR = "-agl" # Override these in poky based distros AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5" POKY_DEFAULT_DISTRO_FEATURES := "${AGL_DEFAULT_DISTRO_FEATURES}" +OVERRIDES .= ":${DISTRO_CODENAME}" QEMU_TARGETS ?= "arm aarch64 i386 x86_64" # Other QEMU_TARGETS "mips mips64 mips64el ppc sh4" @@ -80,6 +82,15 @@ SECURITY_STRINGFORMAT_pn-gpm = "" SECURITY_CFLAGS_pn-libdbus-c++ = "" SECURITY_LDFLAGS_pn-libdbus-c++ = "" +# more than 2 targets fail to compile these with the SECURITY compiler flags: +# Bug tracked as SPEC-593 +SECURITY_CFLAGS_pn-mozjs = "" +SECURITY_LDFLAGS_pn-mozjs = "" +SECURITY_CFLAGS_pn-gpm = "" +SECURITY_LDFLAGS_pn-gpm = "" +SECURITY_CFLAGS_pn-libatasmart = "" +SECURITY_LDFLAGS_pn-libatasmart = "" + # Not yet upstreamed; should be submitted. SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}" @@ -88,5 +99,37 @@ SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}" #default: USER_CLASSES ?= "buildstats image-mklibs image-prelink" USER_CLASSES = "buildstats image-mklibs" -# weak 'default value' assignment for a DEFAULTTUNE -DEFAULTTUNE_arm ??= "armv7athf-neon" +# AGL uses 4 optimization levels +# 2 for ARM 32bit +# - a high and a medium setting for the CCARGS +# - the high setting is default (needs >= cortex-a15) +# - the medium setting is enabled with: DISTRO_FEATURES_append = " agl-medium-arm-compiler " +# 1 for ARM 64bit / AARCH64 +# 1 for x86-64 +require conf/distro/include/${TARGET_ARCH}-tune.inc + +# Generic qemu and qemuboot (runqemu) enhancements +# check qemuboot.bbclass +# - use 2G RAM by default +QB_MEM ?= "-m 2048" +# use pulseaudio on the host side - off as qemu-native is built with alsa +#QB_AUDIO_DRV = "pa" +# expose a virtual 'hda' sound card to the guest (arm/aarch64/x86-64) +QB_AUDIO_OPT = "-soundhw hda" + +# Board templates can add extra IMAGE_FSTYPES through this. +# It is added (late) through the AGL image recipes. +AGL_EXTRA_IMAGE_FSTYPES ??= "" +AGL_EXTRA_INITRAMFS_FSTYPES ??= "" +# +# Default IMAGE FSTYPES compressed tarball + ext4.xz +AGL_DEFAULT_IMAGE_FSTYPES ?= "tar.xz ${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'ext4.xz', 'ext4', d)}" +AGL_DEFAULT_INITRAMFS_FSTYPES ?= "ext4.gz" + +# DEFAULT IMAGE_FSTYPES for AGL (no - BSPs should not set this) +# +IMAGE_FSTYPES := "${AGL_DEFAULT_IMAGE_FSTYPES} ${AGL_EXTRA_IMAGE_FSTYPES}" +INITRAMFS_FSTYPES := "${AGL_DEFAULT_INITRAMFS_FSTYPES} ${AGL_EXTRA_INITRAMFS_FSTYPES}" +# +# THE FUTURE is 'wic' +# IMAGE_FSTYPES_append = " wic"