summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf/distro/poky-tiny.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-poky/conf/distro/poky-tiny.conf')
-rw-r--r--meta-poky/conf/distro/poky-tiny.conf51
1 files changed, 25 insertions, 26 deletions
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"