initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
Use pkg-config to determine alsa link flags. This fixes static linking.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
--- flite-1.4-release.orig/configure.in 2009-08-14 23:46:38.000000000 +0300
+++ flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
@@ -275,7 +275,10 @@
#endif],
[AUDIODRIVER="alsa"
AUDIODEFS=-DCST_AUDIO_ALSA
- AUDIOLIBS=-lasound])
+ AUDIOLIBS=`pkg-config --libs alsa`
+ if test "$shared" = false; then
+ AUDIOLIBS=`pkg-config --libs --static alsa`
+ fi])
AC_CHECK_HEADER(mmsystem.h,
[AUDIODRIVER="wince"
AUDIODEFS=-DCST_AUDIO_WINCE
+16
View File
@@ -0,0 +1,16 @@
config BR2_PACKAGE_FLITE
bool "flite"
depends on BR2_USE_WCHAR
help
Flite: a small, fast run time synthesis engine.
Flite (festival-lite) is a small, fast run-time synthesis
engine developed at CMU and primarily designed for small
embedded machines and/or large servers. Flite is designed as
an alternative synthesis engine to Festival for voices built
using the FestVox suite of voice building tools.
http://www.festvox.org/flite
comment "flite needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
+4
View File
@@ -0,0 +1,4 @@
# locally computed hash
sha256 ab1555fe5adc3f99f1d4a1a0eb1596d329fd6d74f1464a0097c81f53c0cf9e5c flite-2.2.tar.gz
# License files, locally calculated
sha256 d31bceaf2823d56a8c9400f7bde3b17140e739e991eb4f203bdcf9827754ab59 COPYING
+28
View File
@@ -0,0 +1,28 @@
################################################################################
#
# flite
#
################################################################################
FLITE_VERSION = 2.2
FLITE_SITE = $(call github,festvox,flite,v$(FLITE_VERSION))
FLITE_LICENSE = BSD-4-Clause
FLITE_LICENSE_FILES = COPYING
FLITE_INSTALL_STAGING = YES
# Patching configure.in
FLITE_AUTORECONF = YES
FLITE_DEPENDENCIES = host-pkgconf
# Sadly, Flite does not support parallel build, especially when building its
# shared libraries.
FLITE_MAKE = $(MAKE1)
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
FLITE_DEPENDENCIES += alsa-lib
FLITE_CONF_OPTS += --with-audio=alsa
else
FLITE_CONF_OPTS += --with-audio=oss
endif
$(eval $(autotools-package))