blob: 3bc7bff0112932bfe28bfd9a3b2f2d50911ed7ee [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
Andrew Geissler5082cc72023-09-11 08:41:39 -04003DISTRO_VERSION = "4.2+snapshot-${METADATA_REVISION}"
4DISTRO_CODENAME = "nanbield"
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 Geisslerfc113ea2023-03-31 09:59:46 -05009MAINTAINER = "Poky Maintainers <poky@lists.yoctoproject.org>"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010
11TARGET_VENDOR = "-poky"
12
Patrick Williams213cb262021-08-07 19:21:33 -050013LOCALCONF_VERSION = "2"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050014
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015# Override these in poky based distros
Andrew Geissler517393d2023-01-13 08:55:19 -060016POKY_DEFAULT_DISTRO_FEATURES = "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 Geissler5082cc72023-09-11 08:41:39 -040022PREFERRED_VERSION_linux-yocto ?= "6.4%"
23PREFERRED_VERSION_linux-yocto-rt ?= "6.4%"
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 Williams213cb262021-08-07 19:21:33 -050026SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027
Andrew Geissler95ac1b82021-03-31 14:34:31 -050028DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}"
29DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050030
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031TCLIBCAPPEND = ""
32
Patrick Williams03907ee2022-05-01 06:28:52 -050033PACKAGE_CLASSES ?= "package_rpm"
34
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050035SANITY_TESTED_DISTROS ?= " \
Andrew Geissler87f5cff2022-09-30 13:13:31 -050036 poky-4.1 \n \
Patrick Williams8e7b46e2023-05-01 14:19:06 -050037 poky-4.2 \n \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130038 ubuntu-18.04 \n \
Andrew Geissler1e34c2d2020-05-29 16:02:59 -050039 ubuntu-20.04 \n \
Patrick Williams92b42cb2022-09-03 06:53:57 -050040 ubuntu-22.04 \n \
Patrick Williams2a254922023-08-11 09:48:11 -050041 ubuntu-22.10 \n \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060042 fedora-37 \n \
Patrick Williams2a254922023-08-11 09:48:11 -050043 fedora-38 \n \
44 centosstream-8 \n \
Andrew Geisslereff27472021-10-29 15:35:00 -050045 debian-11 \n \
Andrew Geissler8f840682023-07-21 09:09:43 -050046 debian-12 \n \
Andrew Geissler9aee5002022-03-30 16:27:02 +000047 opensuseleap-15.3 \n \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060048 opensuseleap-15.4 \n \
Patrick Williams2a254922023-08-11 09:48:11 -050049 almalinux-8.8 \n \
50 almalinux-9.2 \n \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050051 "
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050052# add poky sanity bbclass
53INHERIT += "poky-sanity"
54
55# QA check settings - a little stricter than the OE-Core defaults
Andrew Geisslerc182c622020-05-15 14:13:32 -050056# (none currently necessary as we now match OE-Core)
57#WARN_TO_ERROR_QA = "X"
58#WARN_QA_remove = "${WARN_TO_ERROR_QA}"
59#ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050060
61require conf/distro/include/poky-world-exclude.inc
62require conf/distro/include/no-static-libs.inc
63require conf/distro/include/yocto-uninative.inc
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080064require conf/distro/include/security_flags.inc
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050065INHERIT += "uninative"
Andrew Geissler82c905d2020-04-13 13:39:40 -050066
Andrew Geissler82c905d2020-04-13 13:39:40 -050067BB_SIGNATURE_HANDLER ?= "OEEquivHash"
68BB_HASHSERVE ??= "auto"
Patrick Williams03907ee2022-05-01 06:28:52 -050069
Andrew Geisslerc5535c92023-01-27 16:10:19 -060070POKY_INIT_MANAGER = "sysvinit"
71INIT_MANAGER ?= "${POKY_INIT_MANAGER}"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050072
73# We need debug symbols so that SPDX license manifests for the kernel work
74KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc"
Patrick Williamsb542dec2023-06-09 01:26:37 -050075
76# Enable creation of SPDX manifests by default
77INHERIT += "create-spdx"