Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

17
package/sbc/Config.in Normal file
View File

@@ -0,0 +1,17 @@
config BR2_PACKAGE_SBC
bool "sbc"
help
An audio codec to connect bluetooth high quality audio
devices like headphones or loudspeakers.
http://www.bluez.org/
if BR2_PACKAGE_SBC
config BR2_PACKAGE_SBC_TOOLS
bool "tools"
select BR2_PACKAGE_LIBSNDFILE
help
Build the command-line SBC tools as well as the library.
endif

6
package/sbc/sbc.hash Normal file
View File

@@ -0,0 +1,6 @@
# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
sha256 426633cabd7c798236443516dfa8335b47e004b0ef37ff107e0c7ead3299fcc2 sbc-2.1.tar.xz
# sha256 locally computed
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB

30
package/sbc/sbc.mk Normal file
View File

@@ -0,0 +1,30 @@
################################################################################
#
# sbc
#
################################################################################
SBC_VERSION = 2.1
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
# gcc-15 defaults to -std=gnu23 which introduces build failures.
# We force "-std=gnu17" for gcc version supporting it. Earlier gcc
# versions will work, since they are using the older standard.
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y)
SBC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu17"
endif
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))