1 require conf/distro/poky.conf
3 # AGL specific derivations
5 DISTRO_NAME = "Automotive Grade Linux"
6 DISTRO_VERSION = "3.99.1+snapshot-${DATE}"
7 DISTRO_CODENAME = "dab"
8 DISTRO_BRANCH_VERSION_TAG = "dab/3.99.1"
10 SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
12 MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"
14 TARGET_VENDOR = "-agl"
16 # Override these in poky based distros
17 AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5"
18 POKY_DEFAULT_DISTRO_FEATURES := "${AGL_DEFAULT_DISTRO_FEATURES}"
20 QEMU_TARGETS ?= "arm aarch64 i386 x86_64"
21 # Other QEMU_TARGETS "mips mips64 mips64el ppc sh4"
24 bzr://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
25 cvs://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
26 git://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
27 gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
28 hg://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
29 osc://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
30 p4://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
31 svn://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n"
34 ftp://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
35 http://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
36 https://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n"
38 # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
39 # fetch from the network (and warn you if not). To disable the test set
40 # the variable to be empty.
41 # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD
42 CONNECTIVITY_CHECK_URIS ?= ""
44 PREFERRED_PROVIDER_udev ?= "systemd"
45 PREFERRED_PROVIDER_udev-utils ?= "systemd"
47 VIRTUAL-RUNTIME_init_manager = "systemd"
48 VIRTUAL-RUNTIME_initscripts = ""
50 # network manager to use (possible values: systemd, connman)
51 VIRTUAL-RUNTIME_net_manager = "connman"
53 DISTRO_FEATURES_APPEND = " "
54 DISTRO_FEATURES_remove = "x11"
55 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
58 # Prefer GStreamer 1.8.x by default
59 PREFERRED_VERSION_gstreamer1.0 ?= "1.8.%"
60 PREFERRED_VERSION_gstreamer1.0-plugins-bad ?= "1.8.%"
61 PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.8.%"
62 PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.8.%"
63 PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.8.%"
64 PREFERRED_VERSION_gstreamer1.0-libav ?= "1.8.%"
65 PREFERRED_VERSION_gstreamer1.0-omx ?= "1.2.%"
67 # Prefer libjpeg-turbo
68 PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
70 # using multiple BSP layers causes dangling bbappends in meta-agl-bsp
71 # turn it into a warning
72 #BB_DANGLINGAPPENDS_WARNONLY = "1"
74 # enforce security-related compiler flags by default
75 require conf/distro/include/security_flags.inc
76 # required overrides, upstreamed but not merged yet:
77 # http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107727.html
78 SECURITY_CFLAGS_pn-llvm3.3 = ""
79 SECURITY_LDFLAGS_remove_pn-llvm3.3 = "-fstack-protector-strong"
80 SECURITY_STRINGFORMAT_pn-gpm = ""
81 SECURITY_CFLAGS_pn-libdbus-c++ = ""
82 SECURITY_LDFLAGS_pn-libdbus-c++ = ""
84 # more than 2 targets fail to compile these with the SECURITY compiler flags:
85 # Bug tracked as SPEC-593
86 SECURITY_CFLAGS_pn-mozjs = ""
87 SECURITY_LDFLAGS_pn-mozjs = ""
88 SECURITY_CFLAGS_pn-gpm = ""
89 SECURITY_LDFLAGS_pn-gpm = ""
90 SECURITY_CFLAGS_pn-libatasmart = ""
91 SECURITY_LDFLAGS_pn-libatasmart = ""
93 # Not yet upstreamed; should be submitted.
94 SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}"
96 #Redefined USER_CLASSES
97 #Disable prelink. It is unmaintained and likely will go away.
98 #default: USER_CLASSES ?= "buildstats image-mklibs image-prelink"
99 USER_CLASSES = "buildstats image-mklibs"
101 # AGL uses 4 optimization levels
103 # - a high and a medium setting for the CCARGS
104 # - the high setting is default (needs >= cortex-a15)
105 # - the medium setting is enabled with: DISTRO_FEATURES_append = " agl-medium-arm-compiler "
106 # 1 for ARM 64bit / AARCH64
108 require conf/distro/include/${TARGET_ARCH}-tune.inc
110 # Generic qemu and qemuboot (runqemu) enhancements
111 # check qemuboot.bbclass
112 # - use 1G RAM by default
115 # temporary fix for meta-updater (to be removed 2017-05-01)
116 IMAGE_INSTALL_remove = "rvi-sota-client"