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