X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-distro%2Fconf%2Fdistro%2Fpoky-agl.conf;h=a63c19f0b47e296f0a7bd871ce6a7ec9b649bb07;hb=f310add862d810c1916d98e75208da67283f19e0;hp=e60002ead980f5760b443db3fb61e54cc506220f;hpb=a7926710a4300645e9f295f2cb6fd790df13abf9;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 e60002ead..a63c19f0b 100644 --- a/meta-agl-distro/conf/distro/poky-agl.conf +++ b/meta-agl-distro/conf/distro/poky-agl.conf @@ -3,21 +3,38 @@ require conf/distro/poky.conf # AGL specific derivations DISTRO = "poky-agl" DISTRO_NAME = "Automotive Grade Linux" -#DISTRO_VERSION = "5.99.2+snapshot-${DATE}" -DISTRO_VERSION := "5.99.2" -DISTRO_CODENAME = "flounder" -DISTRO_BRANCH_VERSION_TAG := "flounder/${@'${DISTRO_VERSION}'.replace('+snapshot-${DATE}','')}" -SDK_VENDOR = "-aglsdk" -SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" -AGL_BRANCH = "master" + +# Release flags +DISTRO_CODENAME = "guppy" +AGL_BRANCH = "guppy" +AGLVERSION = "7.0.2" +# switch devel/release +AGLRELEASETYPE ?= "agldevelopment" +#AGLRELEASETYPE ?= "aglrelease" +OVERRIDES .= ":${AGLRELEASETYPE}" +# #for development -#AGL_APP_REVISION = "${AUTOREV}" -#AGL_DEFAULT_REVISION = "${AUTOREV}" +DISTRO_VERSION_agldevelopment := "${AGLVERSION}+snapshot-${DATE}" +AGL_APP_REVISION_agldevelopment = "${AUTOREV}" +AGL_DEFAULT_REVISION_agldevelopment = "${AUTOREV}" + #for release -AGL_APP_REVISION := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}" -AGL_DEFAULT_REVISION := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}" +DISTRO_VERSION_aglrelease := "${AGLVERSION}" +DISTRO_BRANCH_VERSION_TAG = "${DISTRO_CODENAME}/${@'${DISTRO_VERSION}'.replace('+snapshot-${DATE}','')}" +AGL_APP_REVISION_aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}" +AGL_DEFAULT_REVISION_aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}" + + +# SDK +SDK_VENDOR = "-aglsdk" +SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" + +# SDKPATH is the folder where the SDK is going to be installed +# Due to an issue with the qt5 environment (see SPEC-1667), +# we add DEFAULTTUNE to the SDKPATH to mitigate the issue. +SDKPATH = "/opt/agl-sdk/${SDK_VERSION}-${DEFAULTTUNE}" MAINTAINER = "AGL " @@ -25,7 +42,7 @@ MAINTAINER = "AGL " TARGET_VENDOR = "-agl" # Override these in poky based distros -AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5" +AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5 3g" POKY_DEFAULT_DISTRO_FEATURES := "${AGL_DEFAULT_DISTRO_FEATURES}" OVERRIDES .= ":${DISTRO_CODENAME}" @@ -64,7 +81,7 @@ VIRTUAL-RUNTIME_net_manager = "connman" DISTRO_FEATURES_APPEND = " " DISTRO_FEATURES_remove = "x11" -DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" +DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit pulseaudio" PREFERRED_VERSION_wayland-ivi-extension ?= "2.0.%" @@ -102,6 +119,7 @@ SECURITY_CFLAGS_pn-gpm = "" SECURITY_LDFLAGS_pn-gpm = "" SECURITY_CFLAGS_pn-libatasmart = "" SECURITY_LDFLAGS_pn-libatasmart = "" +SECURITY_CFLAGS_pn-optee-client = "" # Not yet upstreamed; should be submitted. SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}" @@ -157,3 +175,13 @@ PACKAGE_FEED_ARCHS = "" # Fix for rpm metadata clash between nativesdk-cmake and nativesdk-qtbase-tools # (revalidate after 2017-10-15, 2018-06-12: still required) DIRFILES_pn-nativesdk-cmake = "1" + +# For https://jira.automotivelinux.org/browse/SPEC-1629 : +# We exclude the conflicting vars from the sstate task hash. +# This needs to be verified. +do_package_write_rpm[vardepsexclude] += "ARCHIVER_TOPDIR PF" + +# For https://jira.automotivelinux.org/browse/SPEC-1677 +# Some issues appear, with the yocto version of valgrind, on aarch64. +# (valgrind exits due to an unhandled instruction') +PREFERRED_VERSION_valgrind ?= "git"