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 | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 3 | DISTRO_VERSION = "3.1+snapshot-${DATE}" |
| 4 | DISTRO_CODENAME = "master" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | SDK_VENDOR = "-pokysdk" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 6 | SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 7 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | MAINTAINER = "Poky <poky@lists.yoctoproject.org>" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | |
| 10 | TARGET_VENDOR = "-poky" |
| 11 | |
| 12 | LOCALCONF_VERSION = "1" |
| 13 | |
| 14 | DISTRO_VERSION[vardepsexclude] = "DATE" |
| 15 | SDK_VERSION[vardepsexclude] = "DATE" |
| 16 | |
| 17 | # Override these in poky based distros |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 19 | POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" |
| 20 | POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" |
| 21 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 22 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 24 | PREFERRED_VERSION_linux-yocto ?= "5.8%" |
| 25 | PREFERRED_VERSION_linux-yocto-rt ?= "5.4%" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 26 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 27 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 28 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" |
| 29 | |
| 30 | DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" |
| 31 | DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" |
| 32 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 33 | TCLIBCAPPEND = "" |
| 34 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 35 | PREMIRRORS ??= "\ |
| 36 | bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 37 | cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 38 | git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 39 | gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 40 | hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 41 | osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 42 | p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 43 | svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" |
| 44 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 45 | SANITY_TESTED_DISTROS ?= " \ |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame] | 46 | poky-3.0 \n \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 47 | poky-3.1 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 48 | ubuntu-16.04 \n \ |
Brad Bishop | a5c52ff | 2018-11-23 10:55:50 +1300 | [diff] [blame] | 49 | ubuntu-18.04 \n \ |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 50 | ubuntu-20.04 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 51 | fedora-30 \n \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 52 | fedora-31 \n \ |
Andrew Geissler | 1e34c2d | 2020-05-29 16:02:59 -0500 | [diff] [blame] | 53 | fedora-32 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 54 | centos-7 \n \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 55 | centos-8 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 56 | debian-8 \n \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 57 | debian-9 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 58 | debian-10 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 59 | opensuseleap-15.1 \n \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 60 | " |
Andrew Geissler | 4873add | 2020-11-02 18:44:49 -0600 | [diff] [blame] | 61 | # |
| 62 | # OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in |
| 63 | # an incompatible way. Such changes should usually be detailed in the commit |
| 64 | # that breaks the format and have been previously discussed on the mailing list |
| 65 | # with general agreement from the core team. |
| 66 | # |
| 67 | OELAYOUT_ABI = "12" |
| 68 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 69 | # add poky sanity bbclass |
| 70 | INHERIT += "poky-sanity" |
| 71 | |
| 72 | # QA check settings - a little stricter than the OE-Core defaults |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 73 | # (none currently necessary as we now match OE-Core) |
| 74 | #WARN_TO_ERROR_QA = "X" |
| 75 | #WARN_QA_remove = "${WARN_TO_ERROR_QA}" |
| 76 | #ERROR_QA_append = " ${WARN_TO_ERROR_QA}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 77 | |
| 78 | require conf/distro/include/poky-world-exclude.inc |
| 79 | require conf/distro/include/no-static-libs.inc |
| 80 | require conf/distro/include/yocto-uninative.inc |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 81 | require conf/distro/include/security_flags.inc |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 82 | INHERIT += "uninative" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 83 | |
| 84 | INHERIT += "reproducible_build" |
| 85 | |
| 86 | BB_SIGNATURE_HANDLER ?= "OEEquivHash" |
| 87 | BB_HASHSERVE ??= "auto" |