* Update buildroot-patches for 2020.11-rc1 buildroot * Update buildroot to 2020.11-rc1 Signed-off-by: Stefan Agner <stefan@agner.ch> * Don't rely on sfdisk --list-free output The --list-free (-F) argument does not allow machine readable mode. And it seems that the output format changes over time (different spacing, using size postfixes instead of raw blocks). Use sfdisk json output and calculate free partition space ourselfs. This works for 2.35 and 2.36 and is more robust since we rely on output which is meant for scripts to parse. * Migrate defconfigs for Buildroot 2020.11-rc1 In particular, rename BR2_TARGET_UBOOT_BOOT_SCRIPT(_SOURCE) to BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT(_SOURCE). * Rebase/remove systemd patches for systemd 246 * Drop apparmor/libapparmor from buildroot-external * hassos-persists: use /run as directory for lockfiles The U-Boot tools use /var/lock by default which is not created any more by systemd by default (it is under tmpfiles legacy.conf, which we no longer install). * Disable systemd-update-done.service The service is not suited for pure read-only systems. In particular the service needs to be able to write a file in /etc and /var. Remove the service. Note: This is a static service and cannot be removed using systemd-preset. * Disable apparmor.service for now The service loads all default profiles. Some might actually cause problems. E.g. the profile for ping seems not to match our setup for /etc/resolv.conf: [85503.634653] audit: type=1400 audit(1605286002.684:236): apparmor="DENIED" operation="open" profile="ping" name="/run/resolv.conf" pid=27585 comm="ping" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
125 lines
3.8 KiB
Plaintext
125 lines
3.8 KiB
Plaintext
config BR2_PACKAGE_FLUIDSYNTH
|
|
bool "fluidsynth"
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
|
depends on BR2_USE_MMU # libglib2
|
|
# the .pc file installed by fluidsynth does not mention its
|
|
# indirect dependencies in Libs.private.
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
help
|
|
FluidSynth is a real-time software synthesizer based on the
|
|
SoundFont 2 specifications and has reached widespread
|
|
distribution. FluidSynth itself does not have a graphical
|
|
user interface, but due to its powerful API several
|
|
applications utilize it and it has even found its way onto
|
|
embedded systems and is used in some mobile apps.
|
|
|
|
http://www.fluidsynth.org/
|
|
|
|
if BR2_PACKAGE_FLUIDSYNTH
|
|
|
|
comment "Output support"
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB
|
|
bool "alsa"
|
|
default y
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_ALSA_LIB
|
|
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ
|
|
help
|
|
Enable alsa support.
|
|
|
|
comment "alsa support needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_JACK2
|
|
bool "jack2"
|
|
# See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # jack2
|
|
depends on BR2_USE_MMU # jack2
|
|
depends on BR2_INSTALL_LIBSTDCPP # jack2
|
|
depends on !BR2_STATIC_LIBS # jack2
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # jack2
|
|
select BR2_PACKAGE_JACK2
|
|
help
|
|
Enable jack support.
|
|
|
|
comment "jack support needs a toolchain w/ dynamic library, threads, C++"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
|
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE
|
|
bool "libsndfile"
|
|
select BR2_PACKAGE_LIBSNDFILE
|
|
help
|
|
Enable libsndfile support, for writing output to WAV files.
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO
|
|
bool "portaudio"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_PORTAUDIO
|
|
help
|
|
Enable portaudio support.
|
|
|
|
comment "portaudio support needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO
|
|
bool "pulseaudio"
|
|
# See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
|
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC # pulseaudio
|
|
depends on BR2_USE_WCHAR # pulseaudio
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
|
|
depends on !BR2_STATIC_LIBS # pulseaudio
|
|
depends on BR2_USE_MMU # pulseaudio
|
|
select BR2_PACKAGE_PULSEAUDIO
|
|
help
|
|
Enable PulseAudio support.
|
|
|
|
comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
|
|
depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC
|
|
depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
comment "Misc options"
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_DBUS
|
|
bool "dbus"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU
|
|
select BR2_PACKAGE_DBUS
|
|
help
|
|
Enable dbus support.
|
|
|
|
comment "dbus support needs a toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_FLOATS
|
|
bool "32-bit single precision float"
|
|
help
|
|
Enable 32-bit single precision float support, instead of
|
|
64-bit double precision floats for DSP samples.
|
|
|
|
config BR2_PACKAGE_FLUIDSYNTH_READLINE
|
|
bool "readline"
|
|
select BR2_PACKAGE_READLINE
|
|
help
|
|
Enable readline support, for better line editing in FluidSynth
|
|
shell.
|
|
|
|
endif # BR2_PACKAGE_FLUIDSYNTH
|
|
|
|
comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS
|