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