diff options
Diffstat (limited to 'meta-poky/conf/distro/poky-tiny.conf')
-rw-r--r-- | meta-poky/conf/distro/poky-tiny.conf | 51 |
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 | ||
31 | require conf/distro/poky.conf | 31 | require conf/distro/poky.conf |
32 | require conf/distro/include/gcsections.inc | 32 | require conf/distro/include/gcsections.inc |
33 | 33 | ||
34 | DISTRO = "poky-tiny" | 34 | DISTRO = "poky-tiny" |
35 | DISTRO_NAME = "Poky Tiny" | ||
35 | DISTROOVERRIDES = "poky:poky-tiny" | 36 | DISTROOVERRIDES = "poky:poky-tiny" |
36 | TCLIBC = "musl" | 37 | TCLIBC = "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. |
45 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny" | 46 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny" |
46 | PREFERRED_VERSION_linux-yocto-tiny ?= "5.10%" | 47 | PREFERRED_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 |
59 | ENABLE_WIDEC = "false" | 60 | ENABLE_WIDEC = "false" |
60 | ENABLE_WIDEC_class-native = "true" | 61 | ENABLE_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. |
64 | USE_NLS="no" | 65 | USE_NLS="no" |
66 | # As we don't have native language support, don't install locales into images | ||
67 | IMAGE_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 | 85 | DISTRO_FEATURES:class-native = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" |
83 | DISTRO_FEATURES_append_libc-uclibc = " largefile" | 86 | DISTRO_FEATURES:class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" |
84 | DISTRO_FEATURES_append_libc-musl = " largefile" | ||
85 | |||
86 | DISTRO_FEATURES_class-native = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" | ||
87 | DISTRO_FEATURES_class-nativesdk = "${DISTRO_FEATURES_DEFAULT} ${POKY_DEFAULT_DISTRO_FEATURES}" | ||
88 | 87 | ||
89 | # enable mdev/busybox for init | 88 | # enable mdev/busybox for init |
90 | INIT_MANAGER ?= "mdev-busybox" | 89 | POKY_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. |
100 | IMAGE_FSTYPES = "cpio.gz" | 99 | IMAGE_FSTYPES = "cpio.gz" |
101 | 100 | QB_DEFAULT_FSTYPE = "cpio.gz" | |
102 | QB_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. |
114 | RDEPENDS_${PN}-mtrace_pn-eglibc = "" | 112 | RDEPENDS:${PN}-mtrace:pn-eglibc = "" |
115 | 113 | ||
116 | PNBLACKLIST[build-appliance-image] = "not buildable with poky-tiny" | 114 | SKIP_RECIPE[build-appliance-image] = "not buildable with poky-tiny" |
117 | PNBLACKLIST[core-image-base] = "not buildable with poky-tiny" | 115 | SKIP_RECIPE[core-image-rt] = "not buildable with poky-tiny" |
118 | PNBLACKLIST[core-image-clutter] = "not buildable with poky-tiny" | 116 | SKIP_RECIPE[core-image-rt-sdk] = "not buildable with poky-tiny" |
119 | PNBLACKLIST[core-image-full-cmdline] = "not buildable with poky-tiny" | 117 | SKIP_RECIPE[core-image-sato] = "not buildable with poky-tiny" |
120 | PNBLACKLIST[core-image-rt] = "not buildable with poky-tiny" | 118 | SKIP_RECIPE[core-image-sato-dev] = "not buildable with poky-tiny" |
121 | PNBLACKLIST[core-image-rt-sdk] = "not buildable with poky-tiny" | 119 | SKIP_RECIPE[core-image-sato-sdk] = "not buildable with poky-tiny" |
122 | PNBLACKLIST[core-image-sato] = "not buildable with poky-tiny" | 120 | SKIP_RECIPE[core-image-x11] = "not buildable with poky-tiny" |
123 | PNBLACKLIST[core-image-sato-dev] = "not buildable with poky-tiny" | 121 | SKIP_RECIPE[core-image-weston] = "not buildable with poky-tiny" |
124 | PNBLACKLIST[core-image-sato-sdk] = "not buildable with poky-tiny" | ||
125 | PNBLACKLIST[core-image-x11] = "not buildable with poky-tiny" | ||
126 | PNBLACKLIST[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 |
129 | PACKAGECONFIG_remove_pn-opkg-utils = "python" | 124 | PACKAGECONFIG: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. | ||
128 | PACKAGE_EXCLUDE += "shadow-base" | ||