From 9671321b6740a0d56878d213a4a969d2b594d3d4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 18 Feb 2021 23:33:17 +0000 Subject: [PATCH] local.conf.sample.extended: Bring back into sync with OE-Core (From meta-yocto rev: ea6e777cac72f22b56b2c8be0ba05ba164efe5de) Signed-off-by: Richard Purdie --- meta-poky/conf/local.conf.sample.extended | 29 +++++++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/meta-poky/conf/local.conf.sample.extended b/meta-poky/conf/local.conf.sample.extended index 885b4ab20e..ba1d0973b5 100644 --- a/meta-poky/conf/local.conf.sample.extended +++ b/meta-poky/conf/local.conf.sample.extended @@ -23,6 +23,13 @@ # # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would # be appropriate for example. +# +# Some users are behind firewalls or use servers where the number of parallel connections +# is limited. In such cases you can limit the number of fetch tasks which run in parallel by +# setting the option below, in this case limiting to a maximum of 4 fetch tasks in parallel: +# +#do_fetch[number_threads] = "4" +# # If you want to get an image based on directfb without x11 alter # DISTRO_FEATURES: @@ -87,10 +94,7 @@ DISTRO_FEATURES_remove = "x11" # PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory' # Uncomment these to build a package such that you can use gprof to profile it. -# NOTE: This will only work with 'linux' targets, not -# 'linux-uclibc', as uClibc doesn't provide the necessary -# object files. Also, don't build glibc itself with these -# flags, or it'll fail to build. +# NOTE: Don't build glibc itself with these flags, or it'll fail to build. # # PROFILE_OPTIMIZATION = "-pg" # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" @@ -188,7 +192,8 @@ DISTRO_FEATURES_remove = "x11" # commercial_lame \ # commercial_libmad \ # commercial_libomxil \ -# commercial_mpeg2dec" +# commercial_mpeg2dec \ +# commercial_qmmp" # @@ -371,3 +376,17 @@ DISTRO_FEATURES_remove = "x11" #INIT_MANAGER = "sysvinit" #INIT_MANAGER = "systemd" #INIT_MANAGER = "mdev-busybox" + +# +# Use a full set of packages instead of busybox for base utils +# +#PREFERRED_PROVIDER_base-utils = "packagegroup-core-base-utils" +#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils" +#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock" +#VIRTUAL-RUNTIME_base-utils-syslog = "syslog" + +# +# Enable LTO system-wide +# +#require conf/distro/include/lto.inc +#DISTRO_FEATURES_append = " lto"