230 lines
9.4 KiB
Plaintext
230 lines
9.4 KiB
Plaintext
|
|
# This file is your local configuration file and is where all local user settings
|
|
# are placed. The comments in this file give some guide to the options a new user
|
|
# to the system might want to change but pretty much any configuration option can
|
|
# be set in this file. More adventurous users can look at local.conf.extended
|
|
# which contains other examples of configuration which can be placed in this file
|
|
# but new users likely won't need any of them initially.
|
|
#
|
|
# Lines starting with the '#' character are commented out and in some cases the
|
|
# default values are provided as comments to show people example syntax. Enabling
|
|
# the option is a question of removing the # character and making any change to the
|
|
# variable as required.
|
|
|
|
#
|
|
# Network Control
|
|
#
|
|
BB_NO_NETWORK ?= '0'
|
|
|
|
# Only allow downloads from PREMIRRORs, not search the main SRC_URI or MIRRORS.
|
|
# If you have enabled download (dl-layers), use this to restrict fetch to those
|
|
# layers. This also has a side effect of telling the system to ensure the
|
|
# fetched repositories from the local download layer (pre)mirrors are
|
|
# up-to-date.
|
|
BB_FETCH_PREMIRRORONLY ?= '${@d.getVar('BB_NO_NETWORK') or 0}'
|
|
|
|
|
|
BBMULTICONFIG = "intel-x86 arm-uboot arm-uefi arm-eboot sunxi rpi x86"
|
|
|
|
# This sets the default machine if no other machine has been selected:
|
|
MACHINE ??= "qemux86-64"
|
|
|
|
#Use Realtime linux kernel
|
|
#moved to distro/plcos.conf
|
|
|
|
|
|
PREFERRED_RPROVIDER_virtual/libnss-mdns = "avahi-libnss-mdns"
|
|
PREFERRED_RPROVIDER_libnss-mdns = "avahi-libnss-mdns"
|
|
#PREFERRED_RPROVIDER_virtual/libnss-dnss = "avahi-libnss-dnss"
|
|
|
|
#
|
|
# Where to place the build output
|
|
#
|
|
# This option specifies where the bulk of the building work should be done and
|
|
# where BitBake should place its temporary files and output. Keep in mind that
|
|
# this includes the extraction and compilation of many applications and the toolchain
|
|
# which can use Gigabytes of hard disk space.
|
|
#
|
|
# The default is a tmp directory under TOPDIR.
|
|
#
|
|
BB_BUILD_DISK ?= "${TOPDIR}"
|
|
TMPDIR = "${BB_BUILD_DISK}/tmp"
|
|
|
|
#
|
|
# Default policy config
|
|
#
|
|
# The distribution setting controls which policy settings are used as defaults.
|
|
# The default value is fine for general Yocto project use, at least initially.
|
|
# Ultimately when creating custom policy, people will likely end up subclassing
|
|
# these defaults.
|
|
#
|
|
# OpenEmbedded
|
|
#DISTRO ?= "anaconda"
|
|
# OpenEmbedded
|
|
#DISTRO ?= "nodistro"
|
|
# OpenEmbedded
|
|
#DISTRO ?= "ostree"
|
|
#
|
|
DISTRO ?= "plcos"
|
|
#DISTRO = "poky"
|
|
|
|
#
|
|
# This sets the default distro if no other distro has been selected:
|
|
|
|
#
|
|
# Can enable all 3 at once e.g.:
|
|
# PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
|
|
# We use rpm:
|
|
PACKAGE_CLASSES ?= "package_rpm"
|
|
|
|
#
|
|
# Extra image configuration defaults
|
|
#
|
|
# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
|
|
# images. Some of these options are added to certain image types automatically. The
|
|
# variable can contain the following options:
|
|
# "dbg-pkgs" - add -dbg packages for all installed packages
|
|
# (adds symbol information for debugging/profiling)
|
|
# "src-pkgs" - add -src packages for all installed packages
|
|
# (adds source code for debugging)
|
|
# "dev-pkgs" - add -dev packages for all installed packages
|
|
# (useful if you want to develop against libs in the image)
|
|
# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
|
|
# (useful if you want to run the package test suites)
|
|
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
|
|
# "tools-debug" - add debugging tools (gdb, strace)
|
|
# "eclipse-debug" - add Eclipse remote debugging support
|
|
# "tools-profile" - add profiling tools (oprofile, lttng, valgrind)
|
|
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
|
|
# "debug-tweaks" - make an image suitable for development
|
|
# e.g. ssh root access has a blank password
|
|
# There are other application targets that can be used here too, see
|
|
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
|
|
# We default to enabling the debugging tweaks.
|
|
#EXTRA_IMAGE_FEATURES ?= "allow-root-login"
|
|
|
|
#
|
|
# Additional image features
|
|
#
|
|
# The following is a list of additional classes to use when building images which
|
|
# enable extra features. Some available options which can be included in this variable
|
|
# are:
|
|
# - 'buildstats' collect build statistics
|
|
# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
|
|
# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
|
|
USER_CLASSES ?= "buildstats"
|
|
|
|
#
|
|
# Additional rootfs image types
|
|
#
|
|
# The following is a partial list of additional image filesystem types that
|
|
# may be supported by the configured machine;
|
|
# - 'tar.gz' to create a gzip compressed tarball of the image
|
|
# - 'tar.bz2' to create a bz2 compressed tarball of the image
|
|
# - 'ext4' to create an ext4 image
|
|
#
|
|
# NOTE:
|
|
# Due to the way the OpenEmbedded build system processes this variable,
|
|
# you cannot update its contents by using _append or _prepend. You must use
|
|
# the += operator to add one or more options to the IMAGE_FSTYPES variable.
|
|
# IMAGE_FSTYPES += " live "
|
|
|
|
|
|
#this is for klipper
|
|
#DISTRO_FEATURES:append = " polkit"
|
|
|
|
#
|
|
# Interactive shell configuration
|
|
#
|
|
# Under certain circumstances the system may need input from you and to do this it
|
|
# can launch an interactive shell. It needs to do this since the build is
|
|
# multithreaded and needs to be able to handle the case where more than one parallel
|
|
# process may require the user's attention. The default is iterate over the available
|
|
# terminal types to find one that works.
|
|
#
|
|
# Examples of the occasions this may happen are when resolving patches which cannot
|
|
# be applied, to use the devshell or the kernel menuconfig
|
|
#
|
|
# Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
|
|
# Note: currently, Konsole support only works for KDE 3.x due to the way
|
|
# newer Konsole versions behave
|
|
#OE_TERMINAL = "auto"
|
|
|
|
|
|
# By default disable interactive patch resolution (tasks will just fail instead):
|
|
PATCHRESOLVE = "noop"
|
|
|
|
#
|
|
# Disk Space Monitoring during the build
|
|
#
|
|
# Monitor the disk space during the build. If there is less that 1GB of space or less
|
|
# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
|
|
# shutdown the build. If there is less than 100MB or 1K inodes, perform a hard abort
|
|
# of the build. The reason for this is that running completely out of space can corrupt
|
|
# files and damages the build in ways which may not be easily recoverable.
|
|
# It's necessary to monitor /tmp, if there is no space left the build will fail
|
|
# with very exotic errors.
|
|
BB_DISKMON_DIRS ??= "\
|
|
STOPTASKS,${TMPDIR},1G,100K \
|
|
STOPTASKS,${DL_DIR},1G,100K \
|
|
STOPTASKS,${SSTATE_DIR},1G,100K \
|
|
STOPTASKS,/tmp,100M,100K \
|
|
HALT,${TMPDIR},100M,1K \
|
|
HALT,${DL_DIR},100M,1K \
|
|
HALT,${SSTATE_DIR},100M,1K \
|
|
HALT,/tmp,10M,1K"
|
|
|
|
# use systemd as the default init manager
|
|
#INIT_MANAGER = "systemd"
|
|
|
|
#
|
|
# Qemu configuration
|
|
#
|
|
# By default qemu will build with a builtin VNC server where graphical output can be
|
|
# seen. The two lines below enable the SDL backend too. By default libsdl2-native will
|
|
# be built, if you want to use your host's libSDL instead of the minimal libsdl built
|
|
# by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
|
|
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
|
|
PACKAGECONFIG:append:pn-nativesdk-qemu = " sdl"
|
|
#ASSUME_PROVIDED += "libsdl2-native"
|
|
|
|
# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
|
|
# track the version of this file when it was generated. This can safely be ignored if
|
|
# this doesn't mean anything to you.
|
|
CONF_VERSION = "2"
|
|
|
|
BASELIB = "lib64"
|
|
|
|
# Add WRLinux uninative support
|
|
#require conf/distro/include/plcos-uninative.inc
|
|
require conf/distro/include/all-distro-settings.inc
|
|
|
|
#PSEUDO_IGNORE_PATHS .= ",##OEROOT##/bin"
|
|
# Comment the following line to do sanity check for security config
|
|
SKIP_META_SECURITY_SANITY_CHECK ?= "1"
|
|
|
|
INHERIT += "extrausers"
|
|
|
|
#following should be set with Tuned for dynamic core calculation
|
|
#APPEND += " isolcpus=domain,2-3 rcu_nocbs=2-3 nohz_full=2,3 irqaffinity=0-1 kthread_cpus=0-1 clocksource=tsc tsc=reliable
|
|
|
|
#these have been questionable
|
|
#APPEND += " isolcpus=nohz,managed_irq nosoftlockup nohz=on skew_tick=1 nosmt=force nowatchdog idle=poll cpufreq.off=1 cpuidle.off=1"
|
|
|
|
BBDEBUG = "no"
|
|
INHERIT += "rm_work"
|
|
|
|
#AUTO_SYSLINUXMENU:arm = "0"
|
|
|
|
#Adding below to attempt to achieve parity with working poky build environment, to fix "sleep: command not found" issue
|
|
#require conf/multilib.conf
|
|
#INHERIT += "clang"
|
|
#INHERIT += "multilib_global"
|
|
#DISTRO_FEATURES:class-native = " acl alsa bluetooth debuginfod ext2 ipv4 ipv6 pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc vfat seccomp largefile multiarch pulseaudio kvm virtualization pam"
|
|
#DISTRO_FEATURES:class-nativesdk = " acl alsa bluetooth debuginfod ext2 ipv4 ipv6 pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc vfat seccomp largefile multiarch pulseaudio kvm virtualization pam"
|
|
#This recipe from meta-sunxi fails to parse when building for architectures which do not include a mapping.h file for GPIO interfacing.
|
|
#Because it fails parsing, it will cause a build to fail even if the recipe is not included in an image.
|
|
#An alternative fix would be to provide a mapping.h file, and to add the relevant path to the include path for the py20a recipe.
|
|
BBMASK += "pya20"
|
|
#SKIP_RECIPE[pya20] = "not relevant"
|