blob: 91779e4e46fc9467f8100dc0b2e0b7e7279ed5c0 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Andrew Geissler82c905d2020-04-13 13:39:40 -05003DISTRO_VERSION = "3.1"
4DISTRO_CODENAME = "dunfell"
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 Geissler82c905d2020-04-13 13:39:40 -050024PREFERRED_VERSION_linux-yocto ?= "5.4%"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025
Brad Bishop19323692019-04-05 15:28:33 -040026SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
28
29DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}"
30DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
31
32POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}"
33DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
34DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}"
35DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
36DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
37DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
38DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
39
40TCLIBCAPPEND = ""
41
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050042PREMIRRORS ??= "\
43bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
44cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
45git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
46gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
47hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
48osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
49p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
50svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
51
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050052SANITY_TESTED_DISTROS ?= " \
Brad Bishopc342db32019-05-15 21:57:59 -040053 poky-2.7 \n \
Brad Bishopf3f93bb2019-10-16 14:33:32 -040054 poky-3.0 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050055 poky-3.1 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050056 ubuntu-16.04 \n \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130057 ubuntu-18.04 \n \
Brad Bishopf3f93bb2019-10-16 14:33:32 -040058 ubuntu-19.04 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040059 fedora-30 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050060 fedora-31 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050061 centos-7 \n \
Andrew Geissler82c905d2020-04-13 13:39:40 -050062 centos-8 \n \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050063 debian-8 \n \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050064 debian-9 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040065 debian-10 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040066 opensuseleap-15.1 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050067 "
68#
Brad Bishopd7bf8c12018-02-25 22:55:05 -050069# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050070# an incompatible way. Such changes should usually be detailed in the commit
Brad Bishopd7bf8c12018-02-25 22:55:05 -050071# that breaks the format and have been previously discussed on the mailing list
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050072# with general agreement from the core team.
73#
Brad Bishop6e60e8b2018-02-01 10:27:11 -050074OELAYOUT_ABI = "12"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050075
76# add poky sanity bbclass
77INHERIT += "poky-sanity"
78
79# QA check settings - a little stricter than the OE-Core defaults
80WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \
81 installed-vs-shipped ldflags pn-overrides rpaths staticdev \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080082 unknown-configure-option useless-rpaths"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050083WARN_QA_remove = "${WARN_TO_ERROR_QA}"
84ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
85
86require conf/distro/include/poky-world-exclude.inc
87require conf/distro/include/no-static-libs.inc
88require conf/distro/include/yocto-uninative.inc
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080089require conf/distro/include/security_flags.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050090INHERIT += "uninative"
Andrew Geissler82c905d2020-04-13 13:39:40 -050091
92INHERIT += "reproducible_build"
93
94BB_SIGNATURE_HANDLER ?= "OEEquivHash"
95BB_HASHSERVE ??= "auto"