e919e0a0e0cf802a59e342bc4c7e53941e79c66f
[AGL/meta-agl.git] / meta-agl-distro / conf / distro / poky-agl.conf
1 require conf/distro/poky.conf
2
3 # AGL specific derivations
4 DISTRO = "poky-agl"
5 DISTRO_NAME = "Automotive Grade Linux"
6 DISTRO_VERSION = "3.90.0+snapshot-${DATE}"
7 DISTRO_CODENAME = "dab"
8 SDK_VENDOR = "-aglsdk"
9 SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
10
11 MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"
12
13 TARGET_VENDOR = "-agl"
14
15 # Override these in poky based distros
16 AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5"
17 POKY_DEFAULT_DISTRO_FEATURES := "${AGL_DEFAULT_DISTRO_FEATURES}"
18
19 QEMU_TARGETS ?= "arm aarch64 i386 x86_64"
20 # Other QEMU_TARGETS "mips mips64 mips64el ppc sh4"
21
22 PREMIRRORS ??= "\
23 bzr://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
24 cvs://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
25 git://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
26 gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
27 hg://.*/.*    https://download.automotivelinux.org/AGL/mirror/ \n \
28 osc://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
29 p4://.*/.*    https://download.automotivelinux.org/AGL/mirror/ \n \
30 svn://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n"
31
32 MIRRORS =+ "\
33 ftp://.*/.*      https://download.automotivelinux.org/AGL/mirror/ \n \
34 http://.*/.*     https://download.automotivelinux.org/AGL/mirror/ \n \
35 https://.*/.*    https://download.automotivelinux.org/AGL/mirror/ \n"
36
37 # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
38 # fetch from the network (and warn you if not). To disable the test set
39 # the variable to be empty.
40 # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD
41 CONNECTIVITY_CHECK_URIS ?= ""
42
43 PREFERRED_PROVIDER_udev ?= "systemd"
44 PREFERRED_PROVIDER_udev-utils ?= "systemd"
45
46 VIRTUAL-RUNTIME_init_manager = "systemd"
47 VIRTUAL-RUNTIME_initscripts = ""
48
49 # network manager to use (possible values: systemd, connman)
50 VIRTUAL-RUNTIME_net_manager = "connman" 
51
52 DISTRO_FEATURES_APPEND = " "
53 DISTRO_FEATURES_remove = "x11"
54 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
55
56
57 # Prefer GStreamer 1.8.x by default
58 PREFERRED_VERSION_gstreamer1.0              ?= "1.8%"
59 PREFERRED_VERSION_gstreamer1.0-plugins-bad  ?= "1.8%"
60 PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.8%"
61 PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.8%"
62 PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.8%"
63 PREFERRED_VERSION_gstreamer1.0-libav        ?= "1.8%"
64 PREFERRED_VERSION_gstreamer1.0-omx          ?= "1.8%"
65
66 # Prefer libjpeg-turbo
67 PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
68
69 # using multiple BSP layers causes dangling bbappends in meta-agl-bsp
70 # turn it into a warning
71 #BB_DANGLINGAPPENDS_WARNONLY = "1"
72
73 # enforce security-related compiler flags by default
74 require conf/distro/include/security_flags.inc
75 # required overrides, upstreamed but not merged yet:
76 # http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107727.html
77 #SECURITY_CFLAGS_pn-llvm3.3 = "${SECURITY_NO_PIE_CFLAGS}"
78 SECURITY_STRINGFORMAT_pn-gpm = ""
79 SECURITY_CFLAGS_pn-libdbus-c++ = ""
80 SECURITY_LDFLAGS_pn-libdbus-c++ = ""
81
82 #Redefined USER_CLASSES
83 #Disable prelink. It is unmaintained and likely will go away.
84 #default: USER_CLASSES ?= "buildstats image-mklibs image-prelink"
85 USER_CLASSES = "buildstats image-mklibs"