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 | d5ae7d9 | 2018-06-14 09:52:03 -0700 | [diff] [blame] | 3 | DISTRO_VERSION = "2.5.1" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 4 | DISTRO_CODENAME = "sumo" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | SDK_VENDOR = "-pokysdk" |
| 6 | SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" |
| 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 | |
| 22 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" |
| 23 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | PREFERRED_VERSION_linux-yocto ?= "4.14%" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | |
| 26 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}" |
| 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 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 42 | QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el nios2 ppc x86_64" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 43 | # Other QEMU_TARGETS "sh4" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 44 | |
| 45 | PREMIRRORS ??= "\ |
| 46 | bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 47 | cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 48 | git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 49 | gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 50 | hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 51 | osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 52 | p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 53 | svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" |
| 54 | |
| 55 | MIRRORS =+ "\ |
| 56 | ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 57 | http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 58 | https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" |
| 59 | |
| 60 | # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully |
| 61 | # fetch from the network (and warn you if not). To disable the test set |
| 62 | # the variable to be empty. |
| 63 | # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master |
| 64 | CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" |
| 65 | |
| 66 | SANITY_TESTED_DISTROS ?= " \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 67 | poky-2.4 \n \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 68 | poky-2.5 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 69 | ubuntu-15.04 \n \ |
| 70 | ubuntu-16.04 \n \ |
| 71 | ubuntu-16.10 \n \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 72 | ubuntu-17.04 \n \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 73 | fedora-26 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 74 | centos-7 \n \ |
| 75 | debian-8 \n \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 76 | debian-9 \n \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 77 | opensuse-42.1 \n \ |
| 78 | opensuse-42.2 \n \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 79 | " |
| 80 | # |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 81 | # 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] | 82 | # an incompatible way. Such changes should usually be detailed in the commit |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 83 | # 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] | 84 | # with general agreement from the core team. |
| 85 | # |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 86 | OELAYOUT_ABI = "12" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 87 | |
| 88 | # add poky sanity bbclass |
| 89 | INHERIT += "poky-sanity" |
| 90 | |
| 91 | # QA check settings - a little stricter than the OE-Core defaults |
| 92 | WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ |
| 93 | installed-vs-shipped ldflags pn-overrides rpaths staticdev \ |
| 94 | useless-rpaths" |
| 95 | WARN_QA_remove = "${WARN_TO_ERROR_QA}" |
| 96 | ERROR_QA_append = " ${WARN_TO_ERROR_QA}" |
| 97 | |
| 98 | require conf/distro/include/poky-world-exclude.inc |
| 99 | require conf/distro/include/no-static-libs.inc |
| 100 | require conf/distro/include/yocto-uninative.inc |
| 101 | INHERIT += "uninative" |