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
+10
View File
@@ -0,0 +1,10 @@
config BR2_PACKAGE_FREESWITCH_MOD_BCG729
bool "freeswitch-mod-bcg729"
depends on BR2_PACKAGE_FREESWITCH
depends on !BR2_STATIC_LIBS # freeswitch
select BR2_PACKAGE_BCG729
help
FreeSWITCH G.729A module using the opensource bcg729
implementation by Belledonne Communications.
https://github.com/xadhoom/mod_bcg729
@@ -0,0 +1,3 @@
# Locally computed
sha256 ada0640094b5b3b4a767ec360213bfed624e698c9932b2f9ceb76eb1c0f5a246 freeswitch-mod-bcg729-1.0.5.tar.gz
sha256 bb4680b13c3190429464a8308a07d7d891e6454349fb7be856e02405b25b1195 LICENSE
@@ -0,0 +1,30 @@
################################################################################
#
# freeswitch-mod-bcg729
#
################################################################################
FREESWITCH_MOD_BCG729_VERSION = 1.0.5
FREESWITCH_MOD_BCG729_SITE = $(call github,xadhoom,mod_bcg729,v$(FREESWITCH_MOD_BCG729_VERSION))
FREESWITCH_MOD_BCG729_LICENSE = MPL-1.1
FREESWITCH_MOD_BCG729_LICENSE_FILES = LICENSE
FREESWITCH_MOD_BCG729_DEPENDENCIES = freeswitch bcg729
# instead of patching the not cross-compile friendly Makefile from
# upstream we issue the necessary build commands ourselves
define FREESWITCH_MOD_BCG729_BUILD_CMDS
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
-I$(STAGING_DIR)/usr/include/freeswitch \
-fPIC -fomit-frame-pointer -fno-exceptions \
-c $(@D)/mod_bcg729.c -o $(@D)/mod_bcg729.o
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
-fPIC -fomit-frame-pointer -fno-exceptions \
-shared -Xlinker -x -lm -lbcg729 -Wl,-Bdynamic \
-o $(@D)/mod_bcg729.so $(@D)/mod_bcg729.o
endef
define FREESWITCH_MOD_BCG729_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/mod_bcg729.so $(TARGET_DIR)/usr/lib/freeswitch/mod/mod_bcg729.so
endef
$(eval $(generic-package))