From 9d5483c37523ff3d334c98cafb848282b54962cd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 16 Feb 2016 16:42:58 +0000 Subject: meta-yocto: Rename to meta-poky to better match its purpose "poky" is the reference distribution for the Yocto Project. This renames the layer within the meta-yocto repository to meta-poky, better matching what that layer contains. A layer.conf file is left behind as this is the only way which allows existing builds to migrate safely to the new name. It will be removed at some future point. This change requires the corresponding OE-Core change to handle the migration and the changes to the infrastructure to support this. (From meta-yocto rev: d0c88df2e14672fca4ebbde93c5efbcd0e4fa9b6) Signed-off-by: Richard Purdie --- meta-poky/conf/distro/poky.conf | 104 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 meta-poky/conf/distro/poky.conf (limited to 'meta-poky/conf/distro/poky.conf') diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf new file mode 100644 index 0000000000..55bc1908c9 --- /dev/null +++ b/meta-poky/conf/distro/poky.conf @@ -0,0 +1,104 @@ +DISTRO = "poky" +DISTRO_NAME = "Poky (Yocto Project Reference Distro)" +DISTRO_VERSION = "2.0+snapshot-${DATE}" +DISTRO_CODENAME = "master" +SDK_VENDOR = "-pokysdk" +SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" + +MAINTAINER = "Poky " + +TARGET_VENDOR = "-poky" + +LOCALCONF_VERSION = "1" + +# Override these in poky based distros +POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland" +POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" +POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" + +DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" + +PREFERRED_VERSION_linux-yocto ?= "4.4%" +PREFERRED_VERSION_linux-yocto_qemux86 ?= "4.4%" +PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "4.4%" +PREFERRED_VERSION_linux-yocto_qemuarm ?= "4.4%" +PREFERRED_VERSION_linux-yocto_qemumips ?= "4.4%" +PREFERRED_VERSION_linux-yocto_qemumips64 ?= "4.4%" +PREFERRED_VERSION_linux-yocto_qemuppc ?= "4.4%" + +SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}" +SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" + +DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" +DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" + +POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPL-3.0", "", "packagegroup-core-device-devel",d)}" +DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemuarm64 = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}" +DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}" + +TCLIBCAPPEND = "" + +QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 ppc x86_64" +# Other QEMU_TARGETS "mips64el sh4" + +PREMIRRORS ??= "\ +bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" + +MIRRORS =+ "\ +ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \ +https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n" + +# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully +# fetch from the network (and warn you if not). To disable the test set +# the variable to be empty. +# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master +CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/" + +SANITY_TESTED_DISTROS ?= " \ + poky-1.7 \n \ + poky-1.8 \n \ + poky-2.0 \n \ + Ubuntu-14.04 \n \ + Ubuntu-14.10 \n \ + Ubuntu-15.04 \n \ + Ubuntu-15.10 \n \ + Fedora-21 \n \ + Fedora-22 \n \ + CentOS-6.* \n \ + CentOS-7.* \n \ + Debian-7.* \n \ + Debian-8.* \n \ + openSUSE-project-13.2 \n \ + " +# +# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in +# an incompatible way. Such changes should usually be detailed in the commit +# that breaks the format and have been previously discussed on the mailing list +# with general agreement from the core team. +# +OELAYOUT_ABI = "11" + +# add poky sanity bbclass +INHERIT += "poky-sanity" + +# QA check settings - a little stricter than the OE-Core defaults +WARN_TO_ERROR_QA = "already-stripped compile-host-path install-host-path \ + installed-vs-shipped ldflags pn-overrides rpaths staticdev \ + useless-rpaths" +WARN_QA_remove = "${WARN_TO_ERROR_QA}" +ERROR_QA_append = " ${WARN_TO_ERROR_QA}" + +require conf/distro/include/poky-world-exclude.inc +require conf/distro/include/no-static-libs.inc -- cgit v1.2.3-54-g00ecf