58abfcd6a01fefa37cf762f2222e409643f7e042
[AGL/meta-agl.git] / poky-agl.conf
1 DISTRO = "poky-agl"
2 DISTRO_NAME = "Automotive Grade Linux"
3 DISTRO_VERSION = "1.0.0"
4 # DISTRO_CODENAME = "XXX"
5 SDK_VENDOR = "-pokysdk"
6 SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
7
8 MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"
9
10 TARGET_VENDOR = "-poky"
11
12 LOCALCONF_VERSION = "1"
13 LAYER_CONF_VERSION ?= "6"
14
15 PREFERRED_PROVIDER_udev ?= "systemd"
16 PREFERRED_PROVIDER_udev-utils ?= "systemd"
17
18 VIRTUAL-RUNTIME_init_manager = "systemd"
19 VIRTUAL-RUNTIME_initscripts = ""
20
21 # Override these in poky based distros
22 AGL_DEFAULT_DISTRO_FEATURES = "systemd opengl wayland pam bluetooth bluez5"
23 AGL_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
24 AGL_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
25
26 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${AGL_DEFAULT_DISTRO_FEATURES}"
27
28 #DISTRO_FEATURES_APPEND = " "
29 DISTRO_FEATURES_remove = "x11"
30 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
31
32 PREFERRED_VERSION_linux-yocto ?= "3.14%"
33 PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.14%"
34 PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "3.14%"
35 PREFERRED_VERSION_linux-yocto_qemuarm ?= "3.14%"
36 # PREFERRED_VERSION_linux-yocto_qemumips ?= "3.14%"
37 # PREFERRED_VERSION_linux-yocto_qemumips64 ?= "3.14%"
38 # PREFERRED_VERSION_linux-yocto_qemuppc ?= "3.14%"
39
40 # Prefer GStreamer 1.4.x by default
41 PREFERRED_VERSION_gstreamer1.0              ?= "1.4.%"
42 PREFERRED_VERSION_gstreamer1.0-plugins-bad  ?= "1.4.%"
43 PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.4.%"
44 PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.4.%"
45 PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.4.%"
46 PREFERRED_VERSION_gstreamer1.0-libav        ?= "1.4.%"
47 PREFERRED_VERSION_gstreamer1.0-omx          ?= "1.2.%"
48
49 # Prefer the GStreamer-enabled version of GUPnP-DLNA
50 PREFERRED_VERSION_gupnp-dlna                ?= "0.9.4%"
51
52 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
53 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
54
55 EXTRAOPKGCONFIG = "poky-feed-config-opkg"
56
57 DISTRO_EXTRA_RDEPENDS += " ${AGL_DEFAULT_EXTRA_RDEPENDS}"
58 DISTRO_EXTRA_RRECOMMENDS += " ${AGL_DEFAULT_EXTRA_RRECOMMENDS}"
59
60 POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPLv3", "", "packagegroup-core-device-devel",d)}"
61 DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
62 # DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
63 # DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
64 DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
65 DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
66
67 TCLIBCAPPEND = ""
68
69 QEMU_TARGETS ?= "arm i386 x86_64"
70 # QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
71 # Other QEMU_TARGETS "mips64 mips64el sh4"
72
73 PREMIRRORS ??= "\
74 bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
75 cvs://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
76 git://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
77 gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
78 hg://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n \
79 osc://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
80 p4://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n \
81 svk://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n \
82 svn://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n"
83
84 MIRRORS =+ "\
85 ftp://.*/.*      http://downloads.yoctoproject.org/mirror/sources/ \n \
86 http://.*/.*     http://downloads.yoctoproject.org/mirror/sources/ \n \
87 https://.*/.*    http://downloads.yoctoproject.org/mirror/sources/ \n"
88
89 # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
90 # fetch from the network (and warn you if not). To disable the test set
91 # the variable to be empty.
92 # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD
93
94 CONNECTIVITY_CHECK_URIS ?= " \
95              https://eula-downloads.yoctoproject.org/index.php \
96              http://bugzilla.yoctoproject.org/report.cgi"
97
98 # SANITY_TESTED_DISTROS ?= " \
99 #             Poky-1.4 \n \
100 #             Poky-1.5 \n \
101 #             Poky-1.6 \n \
102 #             Poky-1.7 \n \
103 #             Ubuntu-12.04 \n \
104 #             Ubuntu-13.10 \n \
105 #             Ubuntu-14.04 \n \
106 #             Fedora-19 \n \
107 #             Fedora-20 \n \
108 #             CentOS-6.4 \n \
109 #             CentOS-6.5 \n \
110 #             Debian-7.0 \n \
111 #             Debian-7.1 \n \
112 #             Debian-7.2 \n \
113 #             Debian-7.3 \n \
114 #             Debian-7.4 \n \
115 #             Debian-7.5 \n \
116 #             Debian-7.6 \n \
117 #             Debian-7.7 \n \
118 #             SUSE-LINUX-12.2 \n \
119 #             openSUSE-project-12.3 \n \
120 #             openSUSE-project-13.1 \n \
121 #             "
122
123 # Default hash policy for distro
124 BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
125 #
126 # OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
127 # an incompatible way. Such changes should usually be detailed in the commit
128 # that breaks the format and have been previously discussed on the mailing list
129 # with general agreement from the core team.
130 #
131 OELAYOUT_ABI = "8"
132
133 # add poky sanity bbclass
134 INHERIT += "poky-sanity"
135
136 # QA check settings - a little stricter than the OE-Core defaults
137 WARN_QA = "textrel files-invalid incompatible-license xorg-driver-abi libdir \
138            unknown-configure-option build-deps file-rdeps"
139 ERROR_QA = "dev-so debug-deps dev-deps debug-files arch pkgconfig la perms \
140             useless-rpaths rpaths staticdev ldflags pkgvarcheck already-stripped \
141             compile-host-path dep-cmp installed-vs-shipped install-host-path \
142             packages-list perm-config perm-line perm-link pkgv-undefined \
143             pn-overrides split-strip var-undefined version-going-backwards"