blob: f654f9eacfbcf87cccdf669a63ada2dfa7c021d9 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Patrick Williamsf1e5d692016-03-30 15:21:19 -05003DISTRO_VERSION = "2.0.1"
4DISTRO_CODENAME = "jethro"
Patrick Williamsc124f4f2015-09-15 14:41:29 -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
14# Override these in poky based distros
15POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland"
16POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
17POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
18
19DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
20
21PREFERRED_VERSION_linux-yocto ?= "4.1%"
22PREFERRED_VERSION_linux-yocto_qemux86 ?= "4.1%"
23PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "4.1%"
24PREFERRED_VERSION_linux-yocto_qemuarm ?= "4.1%"
25PREFERRED_VERSION_linux-yocto_qemumips ?= "4.1%"
26PREFERRED_VERSION_linux-yocto_qemumips64 ?= "4.1%"
27PREFERRED_VERSION_linux-yocto_qemuppc ?= "4.1%"
28
29SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
30SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
31
32DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
33DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
34
35POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}"
36DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
37DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}"
38DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
39DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
40DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
41DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
42
43TCLIBCAPPEND = ""
44
45QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 ppc x86_64"
46# Other QEMU_TARGETS "mips64el sh4"
47
48PREMIRRORS ??= "\
49bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
50cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
51git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
52gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
53hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
54osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
55p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
56svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
57
58MIRRORS =+ "\
59ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
60http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
61https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
62
63# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
64# fetch from the network (and warn you if not). To disable the test set
65# the variable to be empty.
66# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
67
68CONNECTIVITY_CHECK_URIS ?= " \
69 https://eula-downloads.yoctoproject.org/index.php \
70 http://bugzilla.yoctoproject.org/report.cgi"
71
72SANITY_TESTED_DISTROS ?= " \
73 poky-1.7 \n \
74 poky-1.8 \n \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050075 poky-2.0 \n \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050076 Ubuntu-14.04 \n \
77 Ubuntu-14.10 \n \
78 Ubuntu-15.04 \n \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050079 Ubuntu-15.10 \n \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050080 Fedora-21 \n \
Patrick Williamsf1e5d692016-03-30 15:21:19 -050081 Fedora-22 \n \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050082 CentOS-6.* \n \
83 CentOS-7.* \n \
84 Debian-7.* \n \
85 Debian-8.* \n \
86 openSUSE-project-13.2 \n \
87 "
88
89# Default hash policy for distro
90BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
91#
92# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
93# an incompatible way. Such changes should usually be detailed in the commit
94# that breaks the format and have been previously discussed on the mailing list
95# with general agreement from the core team.
96#
97OELAYOUT_ABI = "11"
98
99# add poky sanity bbclass
100INHERIT += "poky-sanity"
101
102# QA check settings - a little stricter than the OE-Core defaults
103WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
104 installed-vs-shipped ldflags pn-overrides rpaths staticdev \
105 useless-rpaths"
106WARN_QA_remove = "${WARN_TO_ERROR_QA}"
107ERROR_QA_append = " ${WARN_TO_ERROR_QA}"