Prepare EE rc5
[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 = "4.99.5+snapshot-${DATE}"
7 DISTRO_VERSION = "4.99.5"
8 DISTRO_CODENAME = "eel"
9 DISTRO_BRANCH_VERSION_TAG = "eel/4.99.5"
10 SDK_VENDOR = "-aglsdk"
11 SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
12
13 AGL_BRANCH = "eel"
14 #for development
15 #AGL_APP_REVISION = "${AUTOREV}"
16 #for release
17 AGL_APP_REVISION = "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
18 #for development
19 #AGL_DEFAULT_REVISION = "${AUTOREV}"
20 #for release
21 AGL_DEFAULT_REVISION = "refs/tags/${DISTRO_BRANCH_VERSION_TAG}"
22
23
24 MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"
25
26 TARGET_VENDOR = "-agl"
27
28 # Override these in poky based distros
29 AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5"
30 POKY_DEFAULT_DISTRO_FEATURES := "${AGL_DEFAULT_DISTRO_FEATURES}"
31 OVERRIDES .= ":${DISTRO_CODENAME}"
32
33 QEMU_TARGETS ?= "arm aarch64 i386 x86_64"
34 # Other QEMU_TARGETS "mips mips64 mips64el ppc sh4"
35
36 PREMIRRORS ??= "\
37 bzr://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
38 cvs://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
39 git://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
40 gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \
41 hg://.*/.*    https://download.automotivelinux.org/AGL/mirror/ \n \
42 osc://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n \
43 p4://.*/.*    https://download.automotivelinux.org/AGL/mirror/ \n \
44 svn://.*/.*   https://download.automotivelinux.org/AGL/mirror/ \n"
45
46 MIRRORS =+ "\
47 ftp://.*/.*      https://download.automotivelinux.org/AGL/mirror/ \n \
48 http://.*/.*     https://download.automotivelinux.org/AGL/mirror/ \n \
49 https://.*/.*    https://download.automotivelinux.org/AGL/mirror/ \n"
50
51 # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
52 # fetch from the network (and warn you if not). To disable the test set
53 # the variable to be empty.
54 # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD
55 CONNECTIVITY_CHECK_URIS ?= ""
56
57 PREFERRED_PROVIDER_udev ?= "systemd"
58 PREFERRED_PROVIDER_udev-utils ?= "systemd"
59
60 VIRTUAL-RUNTIME_init_manager = "systemd"
61 VIRTUAL-RUNTIME_initscripts = ""
62
63 # network manager to use (possible values: systemd, connman)
64 VIRTUAL-RUNTIME_net_manager = "connman" 
65
66 DISTRO_FEATURES_APPEND = " "
67 DISTRO_FEATURES_remove = "x11"
68 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
69
70 PREFERRED_VERSION_wayland-ivi-extension ?= "1.1%"
71
72 # Prefer GStreamer 1.10.x by default
73 PREFERRED_VERSION_gstreamer1.0              ?= "1.10.%"
74 PREFERRED_VERSION_gstreamer1.0-plugins-bad  ?= "1.10.%"
75 PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.10.%"
76 PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.10.%"
77 PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.10.%"
78 PREFERRED_VERSION_gstreamer1.0-libav        ?= "1.10.%"
79 PREFERRED_VERSION_gstreamer1.0-omx          ?= "1.2.%"
80
81 # Prefer libjpeg-turbo
82 PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
83
84 # using multiple BSP layers causes dangling bbappends in meta-agl-bsp
85 # turn it into a warning
86 #BB_DANGLINGAPPENDS_WARNONLY = "1"
87
88 # enforce security-related compiler flags by default
89 require conf/distro/include/security_flags.inc
90 # required overrides, upstreamed but not merged yet:
91 # http://lists.openembedded.org/pipermail/openembedded-devel/2016-June/107727.html
92 SECURITY_CFLAGS_pn-llvm3.3 = ""
93 SECURITY_LDFLAGS_remove_pn-llvm3.3 = "-fstack-protector-strong"
94 SECURITY_STRINGFORMAT_pn-gpm = ""
95 SECURITY_CFLAGS_pn-libdbus-c++ = ""
96 SECURITY_LDFLAGS_pn-libdbus-c++ = ""
97
98 # more than 2 targets fail to compile these with the SECURITY compiler flags:
99 # Bug tracked as SPEC-593
100 SECURITY_CFLAGS_pn-mozjs = ""
101 SECURITY_LDFLAGS_pn-mozjs = ""
102 SECURITY_CFLAGS_pn-gpm = ""
103 SECURITY_LDFLAGS_pn-gpm = ""
104 SECURITY_CFLAGS_pn-libatasmart = ""
105 SECURITY_LDFLAGS_pn-libatasmart = ""
106
107 # Not yet upstreamed; should be submitted.
108 SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}"
109
110 #Redefined USER_CLASSES
111 #Disable prelink. It is unmaintained and likely will go away.
112 #default: USER_CLASSES ?= "buildstats image-mklibs image-prelink"
113 USER_CLASSES = "buildstats image-mklibs"
114
115 # AGL uses 4 optimization levels
116 # 2 for ARM 32bit 
117 #   - a high and a medium setting for the CCARGS
118 #   - the high setting is default (needs >= cortex-a15)
119 #   - the medium setting is enabled with: DISTRO_FEATURES_append = " agl-medium-arm-compiler "
120 # 1 for ARM 64bit / AARCH64
121 # 1 for x86-64
122 require conf/distro/include/${TARGET_ARCH}-tune.inc
123
124 # Generic qemu and qemuboot (runqemu) enhancements
125 # check qemuboot.bbclass
126 # - use 2G RAM by default
127 QB_MEM ?= "-m 2048"
128 # use pulseaudio on the host side - off as qemu-native is built with alsa
129 #QB_AUDIO_DRV = "pa"
130 # expose a virtual 'hda' sound card to the guest (arm/aarch64/x86-64)
131 QB_AUDIO_OPT = "-soundhw hda"
132
133 # Board templates can add extra IMAGE_FSTYPES through this.
134 # It is added (late) through the AGL image recipes.
135 AGL_EXTRA_IMAGE_FSTYPES ??= ""
136 AGL_EXTRA_INITRAMFS_FSTYPES ??= ""
137 #
138 # Default IMAGE FSTYPES compressed tarball + ext4.xz
139 AGL_DEFAULT_IMAGE_FSTYPES ?= "tar.xz ${@bb.utils.contains('DISTRO_FEATURES', 'AGLCI', 'ext4.xz', 'ext4', d)}"
140 AGL_DEFAULT_INITRAMFS_FSTYPES ?= "ext4.gz"
141
142 # DEFAULT IMAGE_FSTYPES for AGL (no - BSPs should not set this)
143 #
144 IMAGE_FSTYPES := "${AGL_DEFAULT_IMAGE_FSTYPES} ${AGL_EXTRA_IMAGE_FSTYPES}"
145 INITRAMFS_FSTYPES := "${AGL_DEFAULT_INITRAMFS_FSTYPES} ${AGL_EXTRA_INITRAMFS_FSTYPES}"
146 #
147 # THE FUTURE is 'wic'
148 # IMAGE_FSTYPES_append = " wic"
149
150
151 # Fix for rpm metadata clash between nativesdk-cmake and nativesdk-qtbase-tools
152 # (revalidate after 2017-10-15)
153 DIRFILES_pn-nativesdk-cmake = "1"
154