diff options
Diffstat (limited to 'poky/meta-poky/conf/distro')
-rw-r--r-- | poky/meta-poky/conf/distro/include/poky-floating-revisions.inc | 58 | ||||
-rw-r--r-- | poky/meta-poky/conf/distro/include/poky-world-exclude.inc | 4 | ||||
-rw-r--r-- | poky/meta-poky/conf/distro/poky-bleeding.conf | 11 | ||||
-rw-r--r-- | poky/meta-poky/conf/distro/poky-lsb.conf | 15 | ||||
-rw-r--r-- | poky/meta-poky/conf/distro/poky-tiny.conf | 132 | ||||
-rw-r--r-- | poky/meta-poky/conf/distro/poky.conf | 101 |
6 files changed, 321 insertions, 0 deletions
diff --git a/poky/meta-poky/conf/distro/include/poky-floating-revisions.inc b/poky/meta-poky/conf/distro/include/poky-floating-revisions.inc new file mode 100644 index 000000000..a3da043d9 --- /dev/null +++ b/poky/meta-poky/conf/distro/include/poky-floating-revisions.inc @@ -0,0 +1,58 @@ +# +# Package Versions for cutting edge testing: +# + +#SRCREV_pn-opkg-native ?= "${AUTOREV}" +#SRCREV_pn-opkg-sdk ?= "${AUTOREV}" +#SRCREV_pn-opkg ?= "${AUTOREV}" +#SRCREV_pn-opkg-utils-native ?= "${AUTOREV}" +#SRCREV_pn-opkg-utils ?= "${AUTOREV}" +SRCREV_pn-gconf-dbus ?= "${AUTOREV}" +SRCREV_pn-matchbox-common ?= "${AUTOREV}" +SRCREV_pn-matchbox-config-gtk ?= "${AUTOREV}" +SRCREV_pn-matchbox-desktop ?= "${AUTOREV}" +SRCREV_pn-matchbox-keyboard ?= "${AUTOREV}" +SRCREV_pn-matchbox-panel-2 ?= "${AUTOREV}" +SRCREV_pn-matchbox-themes-extra ?= "${AUTOREV}" +SRCREV_pn-matchbox-terminal ?= "${AUTOREV}" +SRCREV_pn-matchbox-wm ?= "${AUTOREV}" +SRCREV_pn-settings-daemon ?= "${AUTOREV}" +SRCREV_pn-screenshot ?= "${AUTOREV}" +SRCREV_pn-libfakekey ?= "${AUTOREV}" +SRCREV_pn-psplash ?= "${AUTOREV}" +SRCREV_pn-gtk-sato-engine ?= "${AUTOREV}" +SRCREV_pn-matchbox-theme-sato ?= "${AUTOREV}" +SRCREV_pn-sato-icon-theme ?= "${AUTOREV}" +SRCREV_pn-matchbox-desktop-sato ?= "${AUTOREV}" +SRCREV_pn-oh-puzzles ?= "${AUTOREV}" +SRCREV_pn-libowl ?= "${AUTOREV}" +SRCREV_pn-fstests ?= "${AUTOREV}" +SRCREV_pn-xvideo-tests ?= "${AUTOREV}" +SRCREV_pn-clutter ?= "${AUTOREV}" +SRCREV_pn-clutter-gst ?= "${AUTOREV}" +SRCREV_pn-libmatchbox ?= "${AUTOREV}" +SRCREV_pn-ofono ?= "${AUTOREV}" + +SRCREV_pn-dri2proto = "${AUTOREV}" +#PREFERRED_VERSION_dri2proto ?= "1.99.1+git%" +SRCREV_pn-libdrm = "${AUTOREV}" +#PREFERRED_VERSION_libdrm ?= "2.4.0+git%" +SRCREV_pn-libxcb = "${AUTOREV}" +#PREFERRED_VERSION_libxcb ?= "1.1.90.1+gitr%" +SRCREV_pn-lib-proto = "${AUTOREV}" +#PREFERRED_VERSION_xcb-proto ?= "1.2+gitr%" +SRCREV_pn-libxcb-sdk = "${AUTOREV}" +#PREFERRED_VERSION_libxcb-sdk ?= "1.1.90.1+gitr%" +SRCREV_pn-xf86-input-evdev = "${AUTOREV}" +#PREFERRED_VERSION_xf86-input-evdev ?= "2.0.4" +SRCREV_pn-xf86-input-mouse = "${AUTOREV}" +#PREFERRED_VERSION_xf86-input-mouse ?= "1.3.0+git%" +SRCREV_pn-xf86-input-keyboard = "${AUTOREV}" +#PREFERRED_VERSION_xf86-input-keyboard ?= "1.3.1+git%" +SRCREV_pn-xf86-input-synaptics = "${AUTOREV}" +#PREFERRED_VERSION_xf86-input-synaptics ?= "0.15.2+git%" + +#SRCDATE_oprofile ?= "${DATE}" + +PREFERRED_VERSION_oprofile ?= "0.9.4+cvs${SRCDATE_oprofile}" + diff --git a/poky/meta-poky/conf/distro/include/poky-world-exclude.inc b/poky/meta-poky/conf/distro/include/poky-world-exclude.inc new file mode 100644 index 000000000..1a2dea585 --- /dev/null +++ b/poky/meta-poky/conf/distro/include/poky-world-exclude.inc @@ -0,0 +1,4 @@ +# +# Things we exlude fromw world testing within the reference distro +# + diff --git a/poky/meta-poky/conf/distro/poky-bleeding.conf b/poky/meta-poky/conf/distro/poky-bleeding.conf new file mode 100644 index 000000000..2d3e046a4 --- /dev/null +++ b/poky/meta-poky/conf/distro/poky-bleeding.conf @@ -0,0 +1,11 @@ +PREFERRED_VERSION_glib-2.0 ?= "2.17.4" +PREFERRED_VERSION_glib-2.0-native ?= "2.17.4" +PREFERRED_VERSION_atk ?= "1.22.0" +PREFERRED_VERSION_pango ?= "1.21.2" +PREFERRED_VERSION_gtk+ ?= "2.13.3" + +require conf/distro/include/poky-floating-revisions.inc +require conf/distro/poky.conf + +DISTRO = "poky-bleeding" +DISTROOVERRIDES = "poky" diff --git a/poky/meta-poky/conf/distro/poky-lsb.conf b/poky/meta-poky/conf/distro/poky-lsb.conf new file mode 100644 index 000000000..ecfe5d2f4 --- /dev/null +++ b/poky/meta-poky/conf/distro/poky-lsb.conf @@ -0,0 +1,15 @@ + +require conf/distro/poky.conf +require conf/distro/include/security_flags.inc + +DISTRO = "poky-lsb" +DISTROOVERRIDES = "poky:linuxstdbase" + +DISTRO_FEATURES_append = " pam largefile opengl" +PREFERRED_PROVIDER_virtual/libx11 = "libx11" + +# Ensure the kernel nfs server is enabled +KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" + +# Use the LTSI Kernel for LSB Testing +PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "4.14%" diff --git a/poky/meta-poky/conf/distro/poky-tiny.conf b/poky/meta-poky/conf/distro/poky-tiny.conf new file mode 100644 index 000000000..7b22a13ca --- /dev/null +++ b/poky/meta-poky/conf/distro/poky-tiny.conf @@ -0,0 +1,132 @@ +# Distribution definition for: poky-tiny +# +# Copyright (c) 2011, Intel Corporation. +# All rights reserved. +# +# This file is released under the MIT license as described in +# ../meta/COPYING.MIT. +# +# Poky-tiny is intended to define a tiny Linux system comprised of a +# Linux kernel tailored to support each specific MACHINE and busybox. +# Poky-tiny sets some basic policy to ensure a usable system while still +# keeping the rootfs and kernel image as small as possible. +# +# The policies defined are intended to meet the following goals: +# o Serial consoles only (no framebuffer or VGA console) +# o Basic support for IPV4 networking +# o Single user ash shell +# o Static images (no support for adding packages or libraries later) +# o Read-only or RAMFS root filesystem +# o Combined Linux kernel + rootfs in under 4MB +# o Allow the user to select between eglibc or uclibc with the TCLIBC variable +# +# This is currently a partial definition, the following tasks remain: +# [ ] Integrate linux-yocto-tiny ktype into linux-yocto +# [ ] Define linux-yocto-tiny configs for all supported BSPs +# [ ] Drop ldconfig from the installation +# [ ] Modify the runqemu scripts to work with ext2 parameter: +# runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800" +# [ ] Modify busybox to allow for DISTRO_FEATURES-like confiruration + +require conf/distro/poky.conf +DISTRO = "poky-tiny" +DISTROOVERRIDES = "poky:poky-tiny" +TCLIBC = "musl" +# FIXME: consider adding a new "tiny" feature +#DISTRO_FEATURES_append = " tiny" + +# Distro config is evaluated after the machine config, so we have to explicitly +# set the kernel provider to override a machine config. +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny" +PREFERRED_VERSION_linux-yocto-tiny ?= "4.14%" + +# We can use packagegroup-core-boot, but in the future we may need a new packagegroup-core-tiny +#POKY_DEFAULT_EXTRA_RDEPENDS += "packagegroup-core-boot" +# Drop kernel-module-af-packet from RRECOMMENDS +POKY_DEFAULT_EXTRA_RRECOMMENDS = "" + +# FIXME: what should we do with this? +TCLIBCAPPEND = "" + +# Disable wide char support for ncurses as we don't include it in +# in the LIBC features below. +# Leave native enable to avoid build failures +ENABLE_WIDEC = "false" +ENABLE_WIDEC_class-native = "true" + +# Drop native language support. This removes the +# eglibc->bash->gettext->libc-posix-clang-wchar dependency. +USE_NLS="no" + +# Comment out any of the lines below to disable them in the build +# DISTRO_FEATURES options: +# alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci +DISTRO_FEATURES_TINY = "pci" +DISTRO_FEATURES_NET = "ipv4 ipv6" +DISTRO_FEATURES_USB = "usbhost" +#DISTRO_FEATURES_USBGADGET = "usbgadget" +#DISTRO_FEATURES_WIFI = "wifi" + +DISTRO_FEATURES = "${DISTRO_FEATURES_TINY} \ + ${DISTRO_FEATURES_NET} \ + ${DISTRO_FEATURES_USB} \ + ${DISTRO_FEATURES_USBGADGET} \ + ${DISTRO_FEATURES_WIFI} \ + " + +# Enable LFS - see bug YOCTO #5865 +DISTRO_FEATURES_append_libc-uclibc = " largefile" +DISTRO_FEATURES_append_libc-musl = " largefile" + +DISTRO_FEATURES_class-native = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" +DISTRO_FEATURES_class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" + +# enable mdev/busybox for init +VIRTUAL-RUNTIME_dev_manager = "busybox-mdev" +VIRTUAL-RUNTIME_login_manager = "busybox" +VIRTUAL-RUNTIME_init_manager = "busybox" +VIRTUAL-RUNTIME_initscripts = "initscripts" +VIRTUAL-RUNTIME_keymaps = "keymaps" +DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit" + +# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in +# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and +# netbase. + +# By default we only support initramfs. We don't build live as that +# pulls in a lot of dependencies for the live image and the installer, like +# udev, grub, etc. These pull in gettext, which fails to build with wide +# character support. +IMAGE_FSTYPES = "cpio.gz" + +QB_DEFAULT_FSTYPE = "${IMAGE_FSTYPES}" + +# Drop v86d from qemu dependency list (we support serial) +# Drop grub from meta-intel BSPs +# FIXME: A different mechanism is needed here. We could define -tiny +# variants of all compatible machines, but that leads to a lot +# more machine configs to maintain long term. +MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "" + +# The mtrace script included by eglibc is a perl script. This means the system +# will build perl in case this package is installed. Since we don't care about +# this script for the purposes of tiny, remove the dependency from here. +RDEPENDS_${PN}-mtrace_pn-eglibc = "" + +PNBLACKLIST[build-appliance-image] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-base] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-clutter] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-full-cmdline] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-lsb] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-lsb-dev] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-lsb-sdk] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-rt] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-rt-sdk] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-sato] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-sato-dev] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-sato-sdk] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-x11] = "not buildable with poky-tiny" +PNBLACKLIST[core-image-weston] = "not buildable with poky-tiny" + +# Disable python usage in opkg-utils since it won't build with tiny config +PACKAGECONFIG_remove_pn-opkg-utils = "python" diff --git a/poky/meta-poky/conf/distro/poky.conf b/poky/meta-poky/conf/distro/poky.conf new file mode 100644 index 000000000..7b1f24e0d --- /dev/null +++ b/poky/meta-poky/conf/distro/poky.conf @@ -0,0 +1,101 @@ +DISTRO = "poky" +DISTRO_NAME = "Poky (Yocto Project Reference Distro)" +DISTRO_VERSION = "2.5" +DISTRO_CODENAME = "sumo" +SDK_VENDOR = "-pokysdk" +SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" + +MAINTAINER = "Poky <poky@yoctoproject.org>" + +TARGET_VENDOR = "-poky" + +LOCALCONF_VERSION = "1" + +DISTRO_VERSION[vardepsexclude] = "DATE" +SDK_VERSION[vardepsexclude] = "DATE" + +# Override these in poky based distros +POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan" +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.14%" + +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 mips64el nios2 ppc x86_64" +# Other QEMU_TARGETS "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-2.4 \n \ + poky-2.5 \n \ + ubuntu-15.04 \n \ + ubuntu-16.04 \n \ + ubuntu-16.10 \n \ + ubuntu-17.04 \n \ + fedora-26 \n \ + centos-7 \n \ + debian-8 \n \ + debian-9 \n \ + opensuse-42.1 \n \ + opensuse-42.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 = "12" + +# 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 +require conf/distro/include/yocto-uninative.inc +INHERIT += "uninative" |