Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | DISTRO = "poky" |
| 2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 3 | #DISTRO_VERSION = "4.1+snapshot-${METADATA_REVISION}" |
| 4 | DISTRO_VERSION = "4.1" |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 5 | DISTRO_CODENAME = "langdale" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 6 | SDK_VENDOR = "-pokysdk" |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 7 | SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}" |
| 8 | SDK_VERSION[vardepvalue] = "${SDK_VERSION}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | MAINTAINER = "Poky <poky@lists.yoctoproject.org>" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 11 | |
| 12 | TARGET_VENDOR = "-poky" |
| 13 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 14 | LOCALCONF_VERSION = "2" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 15 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 16 | # Override these in poky based distros |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 17 | POKY_DEFAULT_DISTRO_FEATURES = "opengl ptest multiarch wayland vulkan" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 18 | POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" |
| 19 | POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" |
| 20 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 21 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 22 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 23 | PREFERRED_VERSION_linux-yocto ?= "5.19%" |
| 24 | PREFERRED_VERSION_linux-yocto-rt ?= "5.19%" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 29 | DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}" |
| 30 | DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 31 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 32 | TCLIBCAPPEND = "" |
| 33 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 34 | PACKAGE_CLASSES ?= "package_rpm" |
| 35 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 36 | SANITY_TESTED_DISTROS ?= " \ |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 37 | poky-4.0 \n \ |
| 38 | poky-4.1 \n \ |
Brad Bishop | a5c52ff | 2018-11-23 10:55:50 +1300 | [diff] [blame] | 39 | ubuntu-18.04 \n \ |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 40 | ubuntu-20.04 \n \ |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 41 | ubuntu-22.04 \n \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 42 | fedora-34 \n \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 43 | fedora-35 \n \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 44 | fedora-36 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 45 | debian-10 \n \ |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 46 | debian-11 \n \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 47 | opensuseleap-15.3 \n \ |
| 48 | almalinux-8.5 \n \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 49 | " |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 50 | # add poky sanity bbclass |
| 51 | INHERIT += "poky-sanity" |
| 52 | |
| 53 | # QA check settings - a little stricter than the OE-Core defaults |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 54 | # (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 Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 58 | |
| 59 | require conf/distro/include/poky-world-exclude.inc |
| 60 | require conf/distro/include/no-static-libs.inc |
| 61 | require conf/distro/include/yocto-uninative.inc |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 62 | require conf/distro/include/security_flags.inc |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 63 | INHERIT += "uninative" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 64 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 65 | BB_SIGNATURE_HANDLER ?= "OEEquivHash" |
| 66 | BB_HASHSERVE ??= "auto" |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame] | 67 | |
| 68 | INIT_MANAGER = "sysvinit" |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 69 | |
| 70 | # We need debug symbols so that SPDX license manifests for the kernel work |
| 71 | KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc" |