blob: 623f39da66726bf8b28f0d203d955dbf14943f67 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Andrew Geissler09209ee2020-12-13 08:44:15 -06003DISTRO_VERSION = "3.2+snapshot-${METADATA_REVISION}"
Andrew Geissler6ce62a22020-11-30 19:58:47 -06004DISTRO_CODENAME = "master"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005SDK_VENDOR = "-pokysdk"
Andrew Geissler09209ee2020-12-13 08:44:15 -06006SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
7SDK_VERSION[vardepvalue] = "${SDK_VERSION}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008
Andrew Geissler82c905d2020-04-13 13:39:40 -05009MAINTAINER = "Poky <poky@lists.yoctoproject.org>"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010
11TARGET_VENDOR = "-poky"
12
13LOCALCONF_VERSION = "1"
14
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015# Override these in poky based distros
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
18POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
19
Brad Bishopc342db32019-05-15 21:57:59 -040020DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050021
Andrew Geisslerc723b722021-01-08 16:14:09 -060022PREFERRED_VERSION_linux-yocto ?= "5.10%"
23PREFERRED_VERSION_linux-yocto-rt ?= "5.10%"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050024
Brad Bishop19323692019-04-05 15:28:33 -040025SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050026SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
27
28DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
29DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
30
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031TCLIBCAPPEND = ""
32
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050033PREMIRRORS ??= "\
34bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
35cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
36git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
37gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
38hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
39osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
40p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
41svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
42
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050043SANITY_TESTED_DISTROS ?= " \
Brad Bishopf3f93bb2019-10-16 14:33:32 -040044 poky-3.0 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050045 poky-3.1 \n \
Andrew Geissler4c19ea12020-10-27 13:52:24 -050046 poky-3.2 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050047 ubuntu-16.04 \n \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130048 ubuntu-18.04 \n \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050049 ubuntu-20.04 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050050 fedora-31 \n \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050051 fedora-32 \n \
Andrew Geissler09209ee2020-12-13 08:44:15 -060052 fedora-33 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050053 centos-7 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050054 centos-8 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050055 debian-8 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050056 debian-9 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040057 debian-10 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040058 opensuseleap-15.1 \n \
Andrew Geissler09209ee2020-12-13 08:44:15 -060059 opensuseleap-15.2 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050060 "
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050061# add poky sanity bbclass
62INHERIT += "poky-sanity"
63
64# QA check settings - a little stricter than the OE-Core defaults
Andrew Geisslerc182c622020-05-15 14:13:32 -050065# (none currently necessary as we now match OE-Core)
66#WARN_TO_ERROR_QA = "X"
67#WARN_QA_remove = "${WARN_TO_ERROR_QA}"
68#ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050069
70require conf/distro/include/poky-world-exclude.inc
71require conf/distro/include/no-static-libs.inc
72require conf/distro/include/yocto-uninative.inc
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080073require conf/distro/include/security_flags.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050074INHERIT += "uninative"
Andrew Geissler82c905d2020-04-13 13:39:40 -050075
76INHERIT += "reproducible_build"
77
78BB_SIGNATURE_HANDLER ?= "OEEquivHash"
79BB_HASHSERVE ??= "auto"