Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | DISTRO = "poky" |
| 2 | DISTRO_NAME = "Poky (Yocto Project Reference Distro)" |
| 3 | DISTRO_VERSION = "2.1" |
| 4 | DISTRO_CODENAME = "krogoth" |
| 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 |
| 18 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland" |
| 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 | |
| 24 | PREFERRED_VERSION_linux-yocto ?= "4.4%" |
| 25 | PREFERRED_VERSION_linux-yocto_qemux86 ?= "4.4%" |
| 26 | PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "4.4%" |
| 27 | PREFERRED_VERSION_linux-yocto_qemuarm ?= "4.4%" |
| 28 | PREFERRED_VERSION_linux-yocto_qemumips ?= "4.4%" |
| 29 | PREFERRED_VERSION_linux-yocto_qemumips64 ?= "4.4%" |
| 30 | PREFERRED_VERSION_linux-yocto_qemuppc ?= "4.4%" |
| 31 | |
| 32 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}" |
| 33 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" |
| 34 | |
| 35 | DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" |
| 36 | DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" |
| 37 | |
| 38 | POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}" |
| 39 | DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}" |
| 40 | DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}" |
| 41 | DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}" |
| 42 | DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}" |
| 43 | DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}" |
| 44 | DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}" |
| 45 | |
| 46 | TCLIBCAPPEND = "" |
| 47 | |
| 48 | QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 ppc x86_64" |
| 49 | # Other QEMU_TARGETS "mips64el sh4" |
| 50 | |
| 51 | PREMIRRORS ??= "\ |
| 52 | bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 53 | cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 54 | git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 55 | gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 56 | hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 57 | osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 58 | p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 59 | svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" |
| 60 | |
| 61 | MIRRORS =+ "\ |
| 62 | ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 63 | http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ |
| 64 | https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" |
| 65 | |
| 66 | # The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully |
| 67 | # fetch from the network (and warn you if not). To disable the test set |
| 68 | # the variable to be empty. |
| 69 | # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master |
| 70 | CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" |
| 71 | |
| 72 | SANITY_TESTED_DISTROS ?= " \ |
| 73 | poky-1.7 \n \ |
| 74 | poky-1.8 \n \ |
| 75 | poky-2.0 \n \ |
| 76 | Ubuntu-14.04 \n \ |
| 77 | Ubuntu-14.10 \n \ |
| 78 | Ubuntu-15.04 \n \ |
| 79 | Ubuntu-15.10 \n \ |
| 80 | Fedora-21 \n \ |
| 81 | Fedora-22 \n \ |
| 82 | Fedora-23 \n \ |
| 83 | CentOS-6.* \n \ |
| 84 | CentOS-7.* \n \ |
| 85 | Debian-7.* \n \ |
| 86 | Debian-8.* \n \ |
| 87 | openSUSE-project-13.2 \n \ |
| 88 | " |
| 89 | # |
| 90 | # OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in |
| 91 | # an incompatible way. Such changes should usually be detailed in the commit |
| 92 | # that breaks the format and have been previously discussed on the mailing list |
| 93 | # with general agreement from the core team. |
| 94 | # |
| 95 | OELAYOUT_ABI = "11" |
| 96 | |
| 97 | # add poky sanity bbclass |
| 98 | INHERIT += "poky-sanity" |
| 99 | |
| 100 | # QA check settings - a little stricter than the OE-Core defaults |
| 101 | WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ |
| 102 | installed-vs-shipped ldflags pn-overrides rpaths staticdev \ |
| 103 | useless-rpaths" |
| 104 | WARN_QA_remove = "${WARN_TO_ERROR_QA}" |
| 105 | ERROR_QA_append = " ${WARN_TO_ERROR_QA}" |
| 106 | |
| 107 | require conf/distro/include/poky-world-exclude.inc |
| 108 | require conf/distro/include/no-static-libs.inc |
| 109 | require conf/distro/include/yocto-uninative.inc |
| 110 | INHERIT += "uninative" |