initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From ff1f9d7c9bc163de3117383b7cea9cd99585462a Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sat, 31 Jul 2021 23:42:35 +0200
|
||||
Subject: [PATCH] src/libmbim-glib/meson.build: fix static build
|
||||
|
||||
Replace shared_library by library to fix static build failure with
|
||||
toolchains that don't support dynamic library
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/8553211d87a2c41d8b47b51bbb193736fce49714
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status:
|
||||
https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/merge_requests/83]
|
||||
---
|
||||
src/libmbim-glib/meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/libmbim-glib/meson.build b/src/libmbim-glib/meson.build
|
||||
index e3337db..5de3564 100644
|
||||
--- a/src/libmbim-glib/meson.build
|
||||
+++ b/src/libmbim-glib/meson.build
|
||||
@@ -76,7 +76,7 @@ version_header = configure_file(
|
||||
|
||||
symbol_map = join_paths(meson.current_source_dir(), 'symbol.map')
|
||||
|
||||
-libmbim_glib = shared_library(
|
||||
+libmbim_glib = library(
|
||||
libname,
|
||||
version: mbim_glib_version,
|
||||
sources: version_header,
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_LIBMBIM
|
||||
bool "libmbim"
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
libmbim is a glib-based library for talking to WWAN modems and
|
||||
devices which speak the Mobile Interface Broadband Model
|
||||
(MBIM) protocol.
|
||||
|
||||
http://www.freedesktop.org/wiki/Software/libmbim/
|
||||
|
||||
comment "libmbim needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 63b53db0196dadea673f04524b0683ce40282f25bfd513d398e2a10b992cac01 libmbim-1.26.0.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
|
||||
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# libmbim
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBMBIM_VERSION = 1.26.0
|
||||
LIBMBIM_SITE = https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/$(LIBMBIM_VERSION)
|
||||
LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
|
||||
LIBMBIM_LICENSE_FILES = COPYING COPYING.LIB
|
||||
LIBMBIM_CPE_ID_VENDOR = freedesktop
|
||||
LIBMBIM_INSTALL_STAGING = YES
|
||||
|
||||
LIBMBIM_DEPENDENCIES = libglib2
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
LIBMBIM_DEPENDENCIES += gobject-introspection
|
||||
LIBMBIM_CONF_OPTS += -Dintrospection=true
|
||||
else
|
||||
LIBMBIM_CONF_OPTS += -Dintrospection=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
||||
LIBMBIM_DEPENDENCIES += bash-completion
|
||||
LIBMBIM_CONF_OPTS += -Dbash_completion=true
|
||||
else
|
||||
LIBMBIM_CONF_OPTS += -Dbash_completion=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user