summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf/distro
diff options
context:
space:
mode:
Diffstat (limited to 'meta-poky/conf/distro')
-rw-r--r--meta-poky/conf/distro/include/gcsections.inc48
-rw-r--r--meta-poky/conf/distro/include/poky-distro-alt-test-config.inc10
-rw-r--r--meta-poky/conf/distro/include/poky-floating-revisions.inc70
-rw-r--r--meta-poky/conf/distro/include/poky-world-exclude.inc2
-rw-r--r--meta-poky/conf/distro/poky-altcfg.conf6
-rw-r--r--meta-poky/conf/distro/poky-bleeding.conf6
-rw-r--r--meta-poky/conf/distro/poky-tiny.conf51
-rw-r--r--meta-poky/conf/distro/poky.conf69
8 files changed, 113 insertions, 149 deletions
diff --git a/meta-poky/conf/distro/include/gcsections.inc b/meta-poky/conf/distro/include/gcsections.inc
index 7157373aa8..0e7bd2efff 100644
--- a/meta-poky/conf/distro/include/gcsections.inc
+++ b/meta-poky/conf/distro/include/gcsections.inc
@@ -2,31 +2,35 @@ CFLAGS_SECTION_REMOVAL = "-ffunction-sections -fdata-sections"
2LDFLAGS_SECTION_REMOVAL = "-Wl,--gc-sections" 2LDFLAGS_SECTION_REMOVAL = "-Wl,--gc-sections"
3 3
4# packages with build problems using sections 4# packages with build problems using sections
5CFLAGS_SECTION_REMOVAL_pn-glibc = "" 5CFLAGS_SECTION_REMOVAL:pn-glibc = ""
6LDFLAGS_SECTION_REMOVAL_pn-glibc = "" 6LDFLAGS_SECTION_REMOVAL:pn-glibc = ""
7CFLAGS_SECTION_REMOVAL_pn-cairo = "" 7CFLAGS_SECTION_REMOVAL:pn-cairo = ""
8LDFLAGS_SECTION_REMOVAL_pn-cairo = "" 8LDFLAGS_SECTION_REMOVAL:pn-cairo = ""
9CFLAGS_SECTION_REMOVAL_pn-perl = "" 9CFLAGS_SECTION_REMOVAL:pn-perl = ""
10LDFLAGS_SECTION_REMOVAL_pn-perl = "" 10LDFLAGS_SECTION_REMOVAL:pn-perl = ""
11CFLAGS_SECTION_REMOVAL_pn-grub-efi = "" 11CFLAGS_SECTION_REMOVAL:pn-grub-efi = ""
12LDFLAGS_SECTION_REMOVAL_pn-grub-efi = "" 12LDFLAGS_SECTION_REMOVAL:pn-grub-efi = ""
13CFLAGS_SECTION_REMOVAL_pn-grub = "" 13CFLAGS_SECTION_REMOVAL:pn-grub = ""
14LDFLAGS_SECTION_REMOVAL_pn-grub = "" 14LDFLAGS_SECTION_REMOVAL:pn-grub = ""
15 15
16# SDK packages with build problems using sections 16# SDK packages with build problems using sections
17CFLAGS_SECTION_REMOVAL_pn-nativesdk-glibc = "" 17CFLAGS_SECTION_REMOVAL:pn-nativesdk-glibc = ""
18LDFLAGS_SECTION_REMOVAL_pn-nativesdk-glibc = "" 18LDFLAGS_SECTION_REMOVAL:pn-nativesdk-glibc = ""
19CFLAGS_SECTION_REMOVAL_pn-nativesdk-mingw-w64-runtime = "" 19CFLAGS_SECTION_REMOVAL:pn-nativesdk-cairo = ""
20LDFLAGS_SECTION_REMOVAL_pn-nativesdk-mingw-w64-runtime = "" 20LDFLAGS_SECTION_REMOVAL:pn-nativesdk-cairo = ""
21CFLAGS_SECTION_REMOVAL_pn-nativesdk-perl = "" 21CFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-runtime = ""
22LDFLAGS_SECTION_REMOVAL_pn-nativesdk-perl = "" 22LDFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-runtime = ""
23CFLAGS_SECTION_REMOVAL_pn-nativesdk-mingw-w64-winpthreads = "" 23CFLAGS_SECTION_REMOVAL:pn-nativesdk-perl = ""
24LDFLAGS_SECTION_REMOVAL_pn-nativesdk-mingw-w64-winpthreads = "" 24LDFLAGS_SECTION_REMOVAL:pn-nativesdk-perl = ""
25CFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-winpthreads = ""
26LDFLAGS_SECTION_REMOVAL:pn-nativesdk-mingw-w64-winpthreads = ""
25 27
26# set default for target 28# set default for target
27CFLAGS_append_class-target = " ${CFLAGS_SECTION_REMOVAL}" 29CFLAGS:append:class-target = " ${CFLAGS_SECTION_REMOVAL}"
28LDFLAGS_append_class-target = " ${LDFLAGS_SECTION_REMOVAL}" 30CXXFLAGS:append:class-target = " ${CFLAGS_SECTION_REMOVAL}"
31LDFLAGS:append:class-target = " ${LDFLAGS_SECTION_REMOVAL}"
29 32
30# set default for nativesdk 33# set default for nativesdk
31CFLAGS_append_class-nativesdk = " ${CFLAGS_SECTION_REMOVAL}" 34CFLAGS:append:class-nativesdk = " ${CFLAGS_SECTION_REMOVAL}"
32LDFLAGS_append_class-nativesdk = " ${LDFLAGS_SECTION_REMOVAL}" 35CXXFLAGS:append:class-nativesdk = " ${CFLAGS_SECTION_REMOVAL}"
36LDFLAGS:append:class-nativesdk = " ${LDFLAGS_SECTION_REMOVAL}"
diff --git a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
index 273ebfdfef..3e10251e8b 100644
--- a/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
+++ b/meta-poky/conf/distro/include/poky-distro-alt-test-config.inc
@@ -1,8 +1,8 @@
1# Add an extra DISTRO_FEATURE 1# Add extra DISTRO_FEATUREs
2DISTRO_FEATURES_append = " pam" 2DISTRO_FEATURES:append = " pam usrmerge"
3 3
4# Use the LTSI Kernel 4# Use our alternate kernel version
5PREFERRED_VERSION_linux-yocto = "5.4%" 5PREFERRED_VERSION_linux-yocto = "6.6%"
6 6
7# Ensure the kernel nfs server is enabled 7# Ensure the kernel nfs server is enabled
8KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" 8KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"
diff --git a/meta-poky/conf/distro/include/poky-floating-revisions.inc b/meta-poky/conf/distro/include/poky-floating-revisions.inc
index 1fc5045920..0721a718bd 100644
--- a/meta-poky/conf/distro/include/poky-floating-revisions.inc
+++ b/meta-poky/conf/distro/include/poky-floating-revisions.inc
@@ -1,56 +1,22 @@
1# 1#
2# Package Versions for cutting edge testing: 2# Set recipe versions to auto-rev for cutting edge testing
3# 3#
4 4
5#SRCREV_pn-opkg-native ?= "${AUTOREV}" 5INHERIT += "poky-bleeding"
6#SRCREV_pn-opkg-sdk ?= "${AUTOREV}"
7#SRCREV_pn-opkg ?= "${AUTOREV}"
8#SRCREV_pn-opkg-utils-native ?= "${AUTOREV}"
9#SRCREV_pn-opkg-utils ?= "${AUTOREV}"
10SRCREV_pn-gconf-dbus ?= "${AUTOREV}"
11SRCREV_pn-matchbox-common ?= "${AUTOREV}"
12SRCREV_pn-matchbox-config-gtk ?= "${AUTOREV}"
13SRCREV_pn-matchbox-desktop ?= "${AUTOREV}"
14SRCREV_pn-matchbox-keyboard ?= "${AUTOREV}"
15SRCREV_pn-matchbox-panel-2 ?= "${AUTOREV}"
16SRCREV_pn-matchbox-themes-extra ?= "${AUTOREV}"
17SRCREV_pn-matchbox-terminal ?= "${AUTOREV}"
18SRCREV_pn-matchbox-wm ?= "${AUTOREV}"
19SRCREV_pn-settings-daemon ?= "${AUTOREV}"
20SRCREV_pn-screenshot ?= "${AUTOREV}"
21SRCREV_pn-libfakekey ?= "${AUTOREV}"
22SRCREV_pn-psplash ?= "${AUTOREV}"
23SRCREV_pn-gtk-sato-engine ?= "${AUTOREV}"
24SRCREV_pn-matchbox-theme-sato ?= "${AUTOREV}"
25SRCREV_pn-sato-icon-theme ?= "${AUTOREV}"
26SRCREV_pn-matchbox-desktop-sato ?= "${AUTOREV}"
27SRCREV_pn-oh-puzzles ?= "${AUTOREV}"
28SRCREV_pn-libowl ?= "${AUTOREV}"
29SRCREV_pn-clutter ?= "${AUTOREV}"
30SRCREV_pn-clutter-gst ?= "${AUTOREV}"
31SRCREV_pn-libmatchbox ?= "${AUTOREV}"
32SRCREV_pn-ofono ?= "${AUTOREV}"
33
34SRCREV_pn-dri2proto = "${AUTOREV}"
35#PREFERRED_VERSION_dri2proto ?= "1.99.1+git%"
36SRCREV_pn-libdrm = "${AUTOREV}"
37#PREFERRED_VERSION_libdrm ?= "2.4.0+git%"
38SRCREV_pn-libxcb = "${AUTOREV}"
39#PREFERRED_VERSION_libxcb ?= "1.1.90.1+gitr%"
40SRCREV_pn-lib-proto = "${AUTOREV}"
41#PREFERRED_VERSION_xcb-proto ?= "1.2+gitr%"
42SRCREV_pn-libxcb-sdk = "${AUTOREV}"
43#PREFERRED_VERSION_libxcb-sdk ?= "1.1.90.1+gitr%"
44SRCREV_pn-xf86-input-evdev = "${AUTOREV}"
45#PREFERRED_VERSION_xf86-input-evdev ?= "2.0.4"
46SRCREV_pn-xf86-input-mouse = "${AUTOREV}"
47#PREFERRED_VERSION_xf86-input-mouse ?= "1.3.0+git%"
48SRCREV_pn-xf86-input-keyboard = "${AUTOREV}"
49#PREFERRED_VERSION_xf86-input-keyboard ?= "1.3.1+git%"
50SRCREV_pn-xf86-input-synaptics = "${AUTOREV}"
51#PREFERRED_VERSION_xf86-input-synaptics ?= "0.15.2+git%"
52
53#SRCDATE_oprofile ?= "${DATE}"
54
55PREFERRED_VERSION_oprofile ?= "0.9.4+cvs${SRCDATE_oprofile}"
56 6
7POKY_AUTOREV_RECIPES = "\
8 libmatchbox \
9 opkg-utils \
10 matchbox-config-gtk \
11 matchbox-desktop \
12 matchbox-keyboard \
13 matchbox-panel-2 \
14 matchbox-terminal \
15 matchbox-theme-sato \
16 matchbox-wm \
17 pseudo \
18 puzzles \
19 sato-icon-theme \
20 sato-screenshot \
21 settings-daemon \
22"
diff --git a/meta-poky/conf/distro/include/poky-world-exclude.inc b/meta-poky/conf/distro/include/poky-world-exclude.inc
index 1a2dea5859..f3ac59c519 100644
--- a/meta-poky/conf/distro/include/poky-world-exclude.inc
+++ b/meta-poky/conf/distro/include/poky-world-exclude.inc
@@ -1,4 +1,4 @@
1# 1#
2# Things we exlude fromw world testing within the reference distro 2# Things we exlude from world testing within the reference distro
3# 3#
4 4
diff --git a/meta-poky/conf/distro/poky-altcfg.conf b/meta-poky/conf/distro/poky-altcfg.conf
index 177bf8d184..3d64bdd1fe 100644
--- a/meta-poky/conf/distro/poky-altcfg.conf
+++ b/meta-poky/conf/distro/poky-altcfg.conf
@@ -2,14 +2,16 @@
2# An example of subclassing a distro, primarily used for testing alternate configuration 2# An example of subclassing a distro, primarily used for testing alternate configuration
3# combinations on the Yocto Project autobuilder 3# combinations on the Yocto Project autobuilder
4# 4#
5
6PACKAGE_CLASSES ?= "package_ipk"
5require conf/distro/poky.conf 7require conf/distro/poky.conf
6 8
7DISTRO = "poky-altcfg" 9DISTRO = "poky-altcfg"
8DISTROOVERRIDES = "poky:poky-altcfg" 10DISTROOVERRIDES = "poky:poky-altcfg"
9#DISTROOVERRIDES = "poky:linuxstdbase" 11#DISTROOVERRIDES = "poky:linuxstdbase"
10 12
11INIT_MANAGER ?= "systemd" 13POKY_INIT_MANAGER:poky-altcfg = "systemd"
12# systemd isn't suitable with musl 14# systemd isn't suitable with musl
13INIT_MANAGER_libc-musl ?= "sysvinit" 15POKY_INIT_MANAGER:poky-altcfg:libc-musl = "sysvinit"
14 16
15require conf/distro/include/poky-distro-alt-test-config.inc 17require conf/distro/include/poky-distro-alt-test-config.inc
diff --git a/meta-poky/conf/distro/poky-bleeding.conf b/meta-poky/conf/distro/poky-bleeding.conf
index 2d3e046a45..8cbf2284d0 100644
--- a/meta-poky/conf/distro/poky-bleeding.conf
+++ b/meta-poky/conf/distro/poky-bleeding.conf
@@ -1,8 +1,4 @@
1PREFERRED_VERSION_glib-2.0 ?= "2.17.4" 1PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-dev"
2PREFERRED_VERSION_glib-2.0-native ?= "2.17.4"
3PREFERRED_VERSION_atk ?= "1.22.0"
4PREFERRED_VERSION_pango ?= "1.21.2"
5PREFERRED_VERSION_gtk+ ?= "2.13.3"
6 2
7require conf/distro/include/poky-floating-revisions.inc 3require conf/distro/include/poky-floating-revisions.inc
8require conf/distro/poky.conf 4require conf/distro/poky.conf
diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index 5a867b1de5..f3dfa8107a 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -26,12 +26,13 @@
26# [ ] Drop ldconfig from the installation 26# [ ] Drop ldconfig from the installation
27# [ ] Modify the runqemu scripts to work with ext2 parameter: 27# [ ] Modify the runqemu scripts to work with ext2 parameter:
28# runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800" 28# runqemu qemux86 qemuparams="-nographic" bootparams="console=ttyS0,115200 root=0800"
29# [ ] Modify busybox to allow for DISTRO_FEATURES-like confiruration 29# [ ] Modify busybox to allow for DISTRO_FEATURES-like configuration
30 30
31require conf/distro/poky.conf 31require conf/distro/poky.conf
32require conf/distro/include/gcsections.inc 32require conf/distro/include/gcsections.inc
33 33
34DISTRO = "poky-tiny" 34DISTRO = "poky-tiny"
35DISTRO_NAME = "Poky Tiny"
35DISTROOVERRIDES = "poky:poky-tiny" 36DISTROOVERRIDES = "poky:poky-tiny"
36TCLIBC = "musl" 37TCLIBC = "musl"
37 38
@@ -43,7 +44,7 @@ FULL_OPTIMIZATION="-Os -pipe ${DEBUG_FLAGS}"
43# Distro config is evaluated after the machine config, so we have to explicitly 44# Distro config is evaluated after the machine config, so we have to explicitly
44# set the kernel provider to override a machine config. 45# set the kernel provider to override a machine config.
45PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny" 46PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
46PREFERRED_VERSION_linux-yocto-tiny ?= "5.10%" 47PREFERRED_VERSION_linux-yocto-tiny ?= "6.6%"
47 48
48# We can use packagegroup-core-boot, but in the future we may need a new packagegroup-core-tiny 49# We can use packagegroup-core-boot, but in the future we may need a new packagegroup-core-tiny
49#POKY_DEFAULT_EXTRA_RDEPENDS += "packagegroup-core-boot" 50#POKY_DEFAULT_EXTRA_RDEPENDS += "packagegroup-core-boot"
@@ -57,11 +58,13 @@ TCLIBCAPPEND = ""
57# in the LIBC features below. 58# in the LIBC features below.
58# Leave native enable to avoid build failures 59# Leave native enable to avoid build failures
59ENABLE_WIDEC = "false" 60ENABLE_WIDEC = "false"
60ENABLE_WIDEC_class-native = "true" 61ENABLE_WIDEC:class-native = "true"
61 62
62# Drop native language support. This removes the 63# Drop native language support. This removes the
63# eglibc->bash->gettext->libc-posix-clang-wchar dependency. 64# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
64USE_NLS="no" 65USE_NLS="no"
66# As we don't have native language support, don't install locales into images
67IMAGE_LINGUAS = ""
65 68
66# Comment out any of the lines below to disable them in the build 69# Comment out any of the lines below to disable them in the build
67# DISTRO_FEATURES options: 70# DISTRO_FEATURES options:
@@ -79,15 +82,11 @@ DISTRO_FEATURES = "${DISTRO_FEATURES_TINY} \
79 ${DISTRO_FEATURES_WIFI} \ 82 ${DISTRO_FEATURES_WIFI} \
80 " 83 "
81 84
82# Enable LFS - see bug YOCTO #5865 85DISTRO_FEATURES:class-native = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
83DISTRO_FEATURES_append_libc-uclibc = " largefile" 86DISTRO_FEATURES:class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
84DISTRO_FEATURES_append_libc-musl = " largefile"
85
86DISTRO_FEATURES_class-native = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
87DISTRO_FEATURES_class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
88 87
89# enable mdev/busybox for init 88# enable mdev/busybox for init
90INIT_MANAGER ?= "mdev-busybox" 89POKY_INIT_MANAGER:poky-tiny = "mdev-busybox"
91 90
92# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in 91# FIXME: Consider adding "modules" to MACHINE_FEATURES and using that in
93# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and 92# packagegroup-core-base to select modutils-initscripts or not. Similar with "net" and
@@ -98,8 +97,7 @@ INIT_MANAGER ?= "mdev-busybox"
98# udev, grub, etc. These pull in gettext, which fails to build with wide 97# udev, grub, etc. These pull in gettext, which fails to build with wide
99# character support. 98# character support.
100IMAGE_FSTYPES = "cpio.gz" 99IMAGE_FSTYPES = "cpio.gz"
101 100QB_DEFAULT_FSTYPE = "cpio.gz"
102QB_DEFAULT_FSTYPE = "${IMAGE_FSTYPES}"
103 101
104# Drop v86d from qemu dependency list (we support serial) 102# Drop v86d from qemu dependency list (we support serial)
105# Drop grub from meta-intel BSPs 103# Drop grub from meta-intel BSPs
@@ -111,19 +109,20 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS = ""
111# The mtrace script included by eglibc is a perl script. This means the system 109# The mtrace script included by eglibc is a perl script. This means the system
112# will build perl in case this package is installed. Since we don't care about 110# will build perl in case this package is installed. Since we don't care about
113# this script for the purposes of tiny, remove the dependency from here. 111# this script for the purposes of tiny, remove the dependency from here.
114RDEPENDS_${PN}-mtrace_pn-eglibc = "" 112RDEPENDS:${PN}-mtrace:pn-eglibc = ""
115 113
116PNBLACKLIST[build-appliance-image] = "not buildable with poky-tiny" 114SKIP_RECIPE[build-appliance-image] = "not buildable with poky-tiny"
117PNBLACKLIST[core-image-base] = "not buildable with poky-tiny" 115SKIP_RECIPE[core-image-rt] = "not buildable with poky-tiny"
118PNBLACKLIST[core-image-clutter] = "not buildable with poky-tiny" 116SKIP_RECIPE[core-image-rt-sdk] = "not buildable with poky-tiny"
119PNBLACKLIST[core-image-full-cmdline] = "not buildable with poky-tiny" 117SKIP_RECIPE[core-image-sato] = "not buildable with poky-tiny"
120PNBLACKLIST[core-image-rt] = "not buildable with poky-tiny" 118SKIP_RECIPE[core-image-sato-dev] = "not buildable with poky-tiny"
121PNBLACKLIST[core-image-rt-sdk] = "not buildable with poky-tiny" 119SKIP_RECIPE[core-image-sato-sdk] = "not buildable with poky-tiny"
122PNBLACKLIST[core-image-sato] = "not buildable with poky-tiny" 120SKIP_RECIPE[core-image-x11] = "not buildable with poky-tiny"
123PNBLACKLIST[core-image-sato-dev] = "not buildable with poky-tiny" 121SKIP_RECIPE[core-image-weston] = "not buildable with poky-tiny"
124PNBLACKLIST[core-image-sato-sdk] = "not buildable with poky-tiny"
125PNBLACKLIST[core-image-x11] = "not buildable with poky-tiny"
126PNBLACKLIST[core-image-weston] = "not buildable with poky-tiny"
127 122
128# Disable python usage in opkg-utils since it won't build with tiny config 123# Disable python usage in opkg-utils since it won't build with tiny config
129PACKAGECONFIG_remove_pn-opkg-utils = "python" 124PACKAGECONFIG:remove:pn-opkg-utils = "python"
125
126# If shadow-base is brought into the image, logins will fail because it
127# doesn't have the heuristics to work when CONFIG_MULTIUSER is unset.
128PACKAGE_EXCLUDE += "shadow-base"
diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf
index 623f39da66..5285753c31 100644
--- a/meta-poky/conf/distro/poky.conf
+++ b/meta-poky/conf/distro/poky.conf
@@ -1,62 +1,52 @@
1DISTRO = "poky" 1DISTRO = "poky"
2DISTRO_NAME = "Poky (Yocto Project Reference Distro)" 2DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
3DISTRO_VERSION = "3.2+snapshot-${METADATA_REVISION}" 3DISTRO_VERSION = "5.0+snapshot-${METADATA_REVISION}"
4DISTRO_CODENAME = "master" 4DISTRO_CODENAME = "styhead"
5SDK_VENDOR = "-pokysdk" 5SDK_VENDOR = "-pokysdk"
6SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}" 6SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
7SDK_VERSION[vardepvalue] = "${SDK_VERSION}" 7SDK_VERSION[vardepvalue] = "${SDK_VERSION}"
8 8
9MAINTAINER = "Poky <poky@lists.yoctoproject.org>" 9MAINTAINER = "Poky Maintainers <poky@lists.yoctoproject.org>"
10 10
11TARGET_VENDOR = "-poky" 11TARGET_VENDOR = "-poky"
12 12
13LOCALCONF_VERSION = "1" 13LOCALCONF_VERSION = "2"
14 14
15# Override these in poky based distros 15# Override these in poky based distros
16POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland vulkan" 16POKY_DEFAULT_DISTRO_FEATURES = "opengl ptest multiarch wayland vulkan"
17POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" 17POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
18POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" 18POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
19 19
20DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" 20DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}"
21 21
22PREFERRED_VERSION_linux-yocto ?= "5.10%" 22PREFERRED_VERSION_linux-yocto ?= "6.6%"
23PREFERRED_VERSION_linux-yocto-rt ?= "5.10%" 23PREFERRED_VERSION_linux-yocto-rt ?= "6.6%"
24 24
25SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}" 25SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
26SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" 26SDKPATHINSTALL = "/opt/${DISTRO}/${SDK_VERSION}"
27 27
28DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" 28DISTRO_EXTRA_RDEPENDS += "${POKY_DEFAULT_EXTRA_RDEPENDS}"
29DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}" 29DISTRO_EXTRA_RRECOMMENDS += "${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
30 30
31TCLIBCAPPEND = "" 31TCLIBCAPPEND = ""
32 32
33PREMIRRORS ??= "\ 33PACKAGE_CLASSES ?= "package_rpm"
34bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
35cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
36git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
37gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
38hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
39osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
40p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
41svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
42 34
43SANITY_TESTED_DISTROS ?= " \ 35SANITY_TESTED_DISTROS ?= " \
44 poky-3.0 \n \ 36 poky-4.3 \n \
45 poky-3.1 \n \ 37 poky-5.0 \n \
46 poky-3.2 \n \
47 ubuntu-16.04 \n \
48 ubuntu-18.04 \n \
49 ubuntu-20.04 \n \ 38 ubuntu-20.04 \n \
50 fedora-31 \n \ 39 ubuntu-22.04 \n \
51 fedora-32 \n \ 40 ubuntu-23.04 \n \
52 fedora-33 \n \ 41 fedora-38 \n \
53 centos-7 \n \ 42 fedora-39 \n \
54 centos-8 \n \ 43 centosstream-8 \n \
55 debian-8 \n \ 44 debian-11 \n \
56 debian-9 \n \ 45 debian-12 \n \
57 debian-10 \n \ 46 opensuseleap-15.4 \n \
58 opensuseleap-15.1 \n \ 47 almalinux-8.8 \n \
59 opensuseleap-15.2 \n \ 48 almalinux-9.2 \n \
49 rocky-9 \n \
60 " 50 "
61# add poky sanity bbclass 51# add poky sanity bbclass
62INHERIT += "poky-sanity" 52INHERIT += "poky-sanity"
@@ -73,7 +63,14 @@ require conf/distro/include/yocto-uninative.inc
73require conf/distro/include/security_flags.inc 63require conf/distro/include/security_flags.inc
74INHERIT += "uninative" 64INHERIT += "uninative"
75 65
76INHERIT += "reproducible_build"
77
78BB_SIGNATURE_HANDLER ?= "OEEquivHash" 66BB_SIGNATURE_HANDLER ?= "OEEquivHash"
79BB_HASHSERVE ??= "auto" 67BB_HASHSERVE ??= "auto"
68
69POKY_INIT_MANAGER = "sysvinit"
70INIT_MANAGER ?= "${POKY_INIT_MANAGER}"
71
72# We need debug symbols so that SPDX license manifests for the kernel work
73KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc"
74
75# Enable creation of SPDX manifests by default
76INHERIT += "create-spdx"