mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 05:23:39 +08:00
3d8b6e9e25
libsndfile is only needed by the sbctester utility and the library can be built without this dependency. Add a config option to cover not just sbctester but the command-line utilities as well. While the utilities may be useful for debugging, normal usage will only need libsbc and these applications can be omitted. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
653 B
Makefile
24 lines
653 B
Makefile
################################################################################
|
|
#
|
|
# sbc
|
|
#
|
|
################################################################################
|
|
|
|
SBC_VERSION = 2.0
|
|
SBC_SOURCE = sbc-$(SBC_VERSION).tar.xz
|
|
SBC_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
|
SBC_INSTALL_STAGING = YES
|
|
SBC_DEPENDENCIES = host-pkgconf
|
|
SBC_LICENSE := LGPL-2.1+ (library)
|
|
SBC_LICENSE_FILES = COPYING COPYING.LIB
|
|
|
|
ifeq ($(BR2_PACKAGE_SBC_TOOLS),y)
|
|
SBC_DEPENDENCIES += libsndfile
|
|
SBC_CONF_OPTS += --enable-tools --enable-tester
|
|
SBC_LICENSE += , GPL-2.0+ (programs)
|
|
else
|
|
SBC_CONF_OPTS += --disable-tools --disable-tester
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|