blob: ed37f4a0b009fb77dc39d509bac5c2fa04e90a87 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Andrew Geisslerc182c622020-05-15 14:13:32 -05003DISTRO_VERSION = "3.1+snapshot-${DATE}"
4DISTRO_CODENAME = "master"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005SDK_VENDOR = "-pokysdk"
Brad Bishop19323692019-04-05 15:28:33 -04006SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05007
Andrew Geissler82c905d2020-04-13 13:39:40 -05008MAINTAINER = "Poky <poky@lists.yoctoproject.org>"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009
10TARGET_VENDOR = "-poky"
11
12LOCALCONF_VERSION = "1"
13
14DISTRO_VERSION[vardepsexclude] = "DATE"
15SDK_VERSION[vardepsexclude] = "DATE"
16
17# Override these in poky based distros
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
20POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
21
Brad Bishopc342db32019-05-15 21:57:59 -040022DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023
Andrew Geisslerc9f78652020-09-18 14:11:35 -050024PREFERRED_VERSION_linux-yocto ?= "5.8%"
25PREFERRED_VERSION_linux-yocto-rt ?= "5.4%"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050026
Brad Bishop19323692019-04-05 15:28:33 -040027SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050028SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
29
30DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
31DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
32
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050033TCLIBCAPPEND = ""
34
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050035PREMIRRORS ??= "\
36bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
37cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
38git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
39gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
40hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
41osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
42p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
43svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
44
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050045SANITY_TESTED_DISTROS ?= " \
Brad Bishopf3f93bb2019-10-16 14:33:32 -040046 poky-3.0 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050047 poky-3.1 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050048 ubuntu-16.04 \n \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130049 ubuntu-18.04 \n \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050050 ubuntu-20.04 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040051 fedora-30 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050052 fedora-31 \n \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050053 fedora-32 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050054 centos-7 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050055 centos-8 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050056 debian-8 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050057 debian-9 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040058 debian-10 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040059 opensuseleap-15.1 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050060 "
Andrew Geissler4873add2020-11-02 18:44:49 -060061#
62# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
63# an incompatible way. Such changes should usually be detailed in the commit
64# that breaks the format and have been previously discussed on the mailing list
65# with general agreement from the core team.
66#
67OELAYOUT_ABI = "12"
68
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050069# add poky sanity bbclass
70INHERIT += "poky-sanity"
71
72# QA check settings - a little stricter than the OE-Core defaults
Andrew Geisslerc182c622020-05-15 14:13:32 -050073# (none currently necessary as we now match OE-Core)
74#WARN_TO_ERROR_QA = "X"
75#WARN_QA_remove = "${WARN_TO_ERROR_QA}"
76#ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050077
78require conf/distro/include/poky-world-exclude.inc
79require conf/distro/include/no-static-libs.inc
80require conf/distro/include/yocto-uninative.inc
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080081require conf/distro/include/security_flags.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050082INHERIT += "uninative"
Andrew Geissler82c905d2020-04-13 13:39:40 -050083
84INHERIT += "reproducible_build"
85
86BB_SIGNATURE_HANDLER ?= "OEEquivHash"
87BB_HASHSERVE ??= "auto"