Bump version for DARING DAB rc1
[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.99.1+snapshot-${DATE}"
7 DISTRO_CODENAME = "dab"
8 DISTRO_BRANCH_VERSION_TAG = "dab/3.99.1"
9 SDK_VENDOR = "-aglsdk"
10 SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
11
12 MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"
13
14 TARGET_VENDOR = "-agl"
15
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}"
19
20 QEMU_TARGETS ?= "arm aarch64 i386 x86_64"
21 # Other QEMU_TARGETS "mips mips64 mips64el ppc sh4"
22
23 PREMIRRORS ??= "\
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"
32
33 MIRRORS =+ "\
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"
37
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 ?= ""
43
44 PREFERRED_PROVIDER_udev ?= "systemd"
45 PREFERRED_PROVIDER_udev-utils ?= "systemd"
46
47 VIRTUAL-RUNTIME_init_manager = "systemd"
48 VIRTUAL-RUNTIME_initscripts = ""
49
50 # network manager to use (possible values: systemd, connman)
51 VIRTUAL-RUNTIME_net_manager = "connman" 
52
53 DISTRO_FEATURES_APPEND = " "
54 DISTRO_FEATURES_remove = "x11"
55 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
56
57
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.%"
66
67 # Prefer libjpeg-turbo
68 PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
69
70 # using multiple BSP layers causes dangling bbappends in meta-agl-bsp
71 # turn it into a warning
72 #BB_DANGLINGAPPENDS_WARNONLY = "1"
73
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++ = ""
83
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 = ""
92
93 # Not yet upstreamed; should be submitted.
94 SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}"
95
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"
100
101 # AGL uses 4 optimization levels
102 # 2 for ARM 32bit 
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
107 # 1 for x86-64
108 require conf/distro/include/${TARGET_ARCH}-tune.inc
109
110 # Generic qemu and qemuboot (runqemu) enhancements
111 # check qemuboot.bbclass
112 # - use 1G RAM by default
113 QB_MEM ?= "-m 1024"
114
115 # temporary fix for meta-updater (to be removed 2017-05-01)
116 IMAGE_INSTALL_remove = "rvi-sota-client"
117