blob: dc0e8e76ab7130d26e4dffb40df6ec265aabce44 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Andrew Geissler87f5cff2022-09-30 13:13:31 -05003#DISTRO_VERSION = "4.1+snapshot-${METADATA_REVISION}"
4DISTRO_VERSION = "4.1"
Patrick Williams03907ee2022-05-01 06:28:52 -05005DISTRO_CODENAME = "langdale"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006SDK_VENDOR = "-pokysdk"
Andrew Geissler09209ee2020-12-13 08:44:15 -06007SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
8SDK_VERSION[vardepvalue] = "${SDK_VERSION}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009
Andrew Geissler82c905d2020-04-13 13:39:40 -050010MAINTAINER = "Poky <poky@lists.yoctoproject.org>"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011
12TARGET_VENDOR = "-poky"
13
Patrick Williams213cb262021-08-07 19:21:33 -050014LOCALCONF_VERSION = "2"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050016# Override these in poky based distros
Andrew Geissler517393d2023-01-13 08:55:19 -060017POKY_DEFAULT_DISTRO_FEATURES = "opengl ptest multiarch wayland vulkan"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
19POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
20
Brad Bishopc342db32019-05-15 21:57:59 -040021DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022
Patrick Williams92b42cb2022-09-03 06:53:57 -050023PREFERRED_VERSION_linux-yocto ?= "5.19%"
24PREFERRED_VERSION_linux-yocto-rt ?= "5.19%"
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 Williams213cb262021-08-07 19:21:33 -050027SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050028
Andrew Geissler95ac1b82021-03-31 14:34:31 -050029DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}"
30DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032TCLIBCAPPEND = ""
33
Patrick Williams03907ee2022-05-01 06:28:52 -050034PACKAGE_CLASSES ?= "package_rpm"
35
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050036SANITY_TESTED_DISTROS ?= " \
Andrew Geissler87f5cff2022-09-30 13:13:31 -050037 poky-4.0 \n \
38 poky-4.1 \n \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130039 ubuntu-18.04 \n \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050040 ubuntu-20.04 \n \
Patrick Williams92b42cb2022-09-03 06:53:57 -050041 ubuntu-22.04 \n \
Andrew Geisslereff27472021-10-29 15:35:00 -050042 fedora-34 \n \
Andrew Geissler9aee5002022-03-30 16:27:02 +000043 fedora-35 \n \
Andrew Geissler517393d2023-01-13 08:55:19 -060044 fedora-36 \n \
Brad Bishop96ff1982019-08-19 13:50:42 -040045 debian-10 \n \
Andrew Geisslereff27472021-10-29 15:35:00 -050046 debian-11 \n \
Andrew Geissler9aee5002022-03-30 16:27:02 +000047 opensuseleap-15.3 \n \
48 almalinux-8.5 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050049 "
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050050# add poky sanity bbclass
51INHERIT += "poky-sanity"
52
53# QA check settings - a little stricter than the OE-Core defaults
Andrew Geisslerc182c622020-05-15 14:13:32 -050054# (none currently necessary as we now match OE-Core)
55#WARN_TO_ERROR_QA = "X"
56#WARN_QA_remove = "${WARN_TO_ERROR_QA}"
57#ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050058
59require conf/distro/include/poky-world-exclude.inc
60require conf/distro/include/no-static-libs.inc
61require conf/distro/include/yocto-uninative.inc
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080062require conf/distro/include/security_flags.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050063INHERIT += "uninative"
Andrew Geissler82c905d2020-04-13 13:39:40 -050064
Andrew Geissler82c905d2020-04-13 13:39:40 -050065BB_SIGNATURE_HANDLER ?= "OEEquivHash"
66BB_HASHSERVE ??= "auto"
Patrick Williams03907ee2022-05-01 06:28:52 -050067
68INIT_MANAGER = "sysvinit"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050069
70# We need debug symbols so that SPDX license manifests for the kernel work
71KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc"