Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | DISTRO = "poky" |
| 2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 3 | DISTRO_VERSION = "2.7+snapshot-${DATE}" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 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 | |
| 8 | MAINTAINER = "Poky <poky@yoctoproject.org>" |
| 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 | |
Brad Bishop | 79641f2 | 2019-09-10 07:20:22 -0400 | [diff] [blame] | 24 | PREFERRED_VERSION_linux-yocto ?= "5.2%" |
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 | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 27 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" |
| 28 | |
| 29 | DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" |
| 30 | DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" |
| 31 | |
| 32 | POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}" |
| 33 | DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}" |
| 34 | DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}" |
| 35 | DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}" |
| 36 | DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}" |
| 37 | DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}" |
| 38 | DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}" |
| 39 | |
| 40 | TCLIBCAPPEND = "" |
| 41 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 42 | PREMIRRORS ??= "\ |
| 43 | bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 44 | cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 45 | git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 46 | gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 47 | hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 48 | osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 49 | p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 50 | svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" |
| 51 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 52 | SANITY_TESTED_DISTROS ?= " \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 53 | poky-2.6 \n \ |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 54 | poky-2.7 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 55 | ubuntu-16.04 \n \ |
Brad Bishop | a5c52ff | 2018-11-23 10:55:50 +1300 | [diff] [blame] | 56 | ubuntu-18.04 \n \ |
| 57 | fedora-28 \n \ |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 58 | fedora-29 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 59 | fedora-30 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 60 | centos-7 \n \ |
| 61 | debian-8 \n \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 62 | debian-9 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 63 | debian-10 \n \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 64 | opensuseleap-15.1 \n \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 65 | " |
| 66 | # |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 67 | # OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 68 | # an incompatible way. Such changes should usually be detailed in the commit |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 69 | # that breaks the format and have been previously discussed on the mailing list |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 70 | # with general agreement from the core team. |
| 71 | # |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 72 | OELAYOUT_ABI = "12" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 73 | |
| 74 | # add poky sanity bbclass |
| 75 | INHERIT += "poky-sanity" |
| 76 | |
| 77 | # QA check settings - a little stricter than the OE-Core defaults |
| 78 | WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ |
| 79 | installed-vs-shipped ldflags pn-overrides rpaths staticdev \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 80 | unknown-configure-option useless-rpaths" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 81 | WARN_QA_remove = "${WARN_TO_ERROR_QA}" |
| 82 | ERROR_QA_append = " ${WARN_TO_ERROR_QA}" |
| 83 | |
| 84 | require conf/distro/include/poky-world-exclude.inc |
| 85 | require conf/distro/include/no-static-libs.inc |
| 86 | require conf/distro/include/yocto-uninative.inc |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 87 | require conf/distro/include/security_flags.inc |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 88 | INHERIT += "uninative" |