mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/tinyalsa: add option to enable utility tools
Add option to enable useful tools, like tinyplay, tinymix, etc. Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
e8c4b360fd
commit
f2c1e10b8a
@@ -13,5 +13,14 @@ config BR2_PACKAGE_TINYALSA
|
|||||||
|
|
||||||
https://github.com/tinyalsa/tinyalsa
|
https://github.com/tinyalsa/tinyalsa
|
||||||
|
|
||||||
|
if BR2_PACKAGE_TINYALSA
|
||||||
|
|
||||||
|
config BR2_PACKAGE_TINYALSA_TOOLS
|
||||||
|
bool "tinyalsa tools"
|
||||||
|
help
|
||||||
|
Build utility tools (tinyplay, tinycap, tinymix, tinypcminfo)
|
||||||
|
|
||||||
|
endif #BR2_PACKAGE_TINYALSA
|
||||||
|
|
||||||
comment "tinyalsa needs a toolchain w/ dynamic library"
|
comment "tinyalsa needs a toolchain w/ dynamic library"
|
||||||
depends on BR2_STATIC_LIBS
|
depends on BR2_STATIC_LIBS
|
||||||
|
|||||||
@@ -9,6 +9,12 @@ TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,v$(TINYALSA_VERSION))
|
|||||||
TINYALSA_LICENSE = BSD-3-Clause
|
TINYALSA_LICENSE = BSD-3-Clause
|
||||||
TINYALSA_LICENSE_FILES = NOTICE
|
TINYALSA_LICENSE_FILES = NOTICE
|
||||||
TINYALSA_INSTALL_STAGING = YES
|
TINYALSA_INSTALL_STAGING = YES
|
||||||
TINYALSA_CONF_OPTS = -Ddocs=disabled -Dexamples=disabled -Dutils=disabled
|
TINYALSA_CONF_OPTS = -Ddocs=disabled -Dexamples=disabled
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_TINYALSA_TOOLS),y)
|
||||||
|
TINYALSA_CONF_OPTS += -Dutils=enabled
|
||||||
|
else
|
||||||
|
TINYALSA_CONF_OPTS += -Dutils=disabled
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(meson-package))
|
$(eval $(meson-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user