blob: aca38c3d6a50480c87fff1eae105d0d4bfc27c72 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Brad Bishop37a0e4d2017-12-04 01:01:44 -05003DISTRO_VERSION = "2.2.2"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06004DISTRO_CODENAME = "morty"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005SDK_VENDOR = "-pokysdk"
6SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
7
8MAINTAINER = "Poky <poky@yoctoproject.org>"
9
10TARGET_VENDOR = "-poky"
11
12LOCALCONF_VERSION = "1"
13
14DISTRO_VERSION[vardepsexclude] = "DATE"
15SDK_VERSION[vardepsexclude] = "DATE"
16
17# Override these in poky based distros
18POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland"
19POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
20POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
21
22DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
23
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024PREFERRED_VERSION_linux-yocto ?= "4.8%"
25PREFERRED_VERSION_linux-yocto_qemux86 ?= "4.8%"
26PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "4.8%"
27PREFERRED_VERSION_linux-yocto_qemuarm ?= "4.8%"
28PREFERRED_VERSION_linux-yocto_qemumips ?= "4.8%"
29PREFERRED_VERSION_linux-yocto_qemumips64 ?= "4.8%"
30PREFERRED_VERSION_linux-yocto_qemuppc ?= "4.8%"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031
32SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
33SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
34
35DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
36DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
37
38POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}"
39DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
40DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}"
41DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
42DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
43DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
44DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
45
46TCLIBCAPPEND = ""
47
48QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 ppc x86_64"
49# Other QEMU_TARGETS "mips64el sh4"
50
51PREMIRRORS ??= "\
52bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
53cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
54git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
55gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
56hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
57osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
58p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
59svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
60
61MIRRORS =+ "\
62ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
63http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
64https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
65
66# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
67# fetch from the network (and warn you if not). To disable the test set
68# the variable to be empty.
69# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
70CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
71
72SANITY_TESTED_DISTROS ?= " \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050073 poky-1.8 \n \
74 poky-2.0 \n \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060075 poky-2.1 \n \
76 poky-2.2 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050077 Ubuntu-14.04 \n \
78 Ubuntu-14.10 \n \
79 Ubuntu-15.04 \n \
80 Ubuntu-15.10 \n \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060081 Ubuntu-16.04 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050082 Fedora-22 \n \
83 Fedora-23 \n \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060084 Fedora-24 \n \
85 CentOSLinux-7.* \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050086 Debian-8.* \n \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060087 openSUSE-13.2 \n \
88 SUSELINUX-42.1 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050089 "
90#
91# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
92# an incompatible way. Such changes should usually be detailed in the commit
93# that breaks the format and have been previously discussed on the mailing list
94# with general agreement from the core team.
95#
96OELAYOUT_ABI = "11"
97
98# add poky sanity bbclass
99INHERIT += "poky-sanity"
100
101# QA check settings - a little stricter than the OE-Core defaults
102WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
103 installed-vs-shipped ldflags pn-overrides rpaths staticdev \
104 useless-rpaths"
105WARN_QA_remove = "${WARN_TO_ERROR_QA}"
106ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
107
108require conf/distro/include/poky-world-exclude.inc
109require conf/distro/include/no-static-libs.inc
110require conf/distro/include/yocto-uninative.inc
111INHERIT += "uninative"