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