mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
delete libqmi libmbim
This commit is contained in:
parent
73fb79b570
commit
4738b88f5d
3 changed files with 0 additions and 238 deletions
|
@ -1,95 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2016 Velocloud Inc.
|
|
||||||
# Copyright (C) 2016 Aleksander Morgado <aleksander@aleksander.es>
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=libmbim
|
|
||||||
PKG_SOURCE_VERSION:=1.30.0
|
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
|
||||||
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
|
|
||||||
PKG_MIRROR_HASH:=8fc4e2d78d6a1003bf89303d3ce779283b176d74e84a241ba8efb0d468605268
|
|
||||||
|
|
||||||
PKG_BUILD_FLAGS:=gc-sections
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=Nicholas Smith <nicholas@nbembedded.com>
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
|
||||||
include $(INCLUDE_DIR)/meson.mk
|
|
||||||
|
|
||||||
TARGET_CFLAGS += -fno-merge-all-constants -fmerge-constants
|
|
||||||
|
|
||||||
MESON_ARGS += \
|
|
||||||
-Dintrospection=false \
|
|
||||||
-Dman=false \
|
|
||||||
-Dbash_completion=false \
|
|
||||||
-Db_lto=true
|
|
||||||
|
|
||||||
define Package/libmbim
|
|
||||||
SECTION:=libs
|
|
||||||
CATEGORY:=Libraries
|
|
||||||
DEPENDS:=+glib2
|
|
||||||
TITLE:=Helper library and utils to talk to MBIM enabled modems
|
|
||||||
URL:=https://www.freedesktop.org/wiki/Software/libmbim
|
|
||||||
LICENSE:=LGPL-2.0-or-later
|
|
||||||
LICENSE_FILES:=COPYING.LIB
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libmbim/description
|
|
||||||
Helper library to talk to MBIM enabled modems.
|
|
||||||
Add mbim-utils for extra utilities.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/mbim-utils
|
|
||||||
SECTION:=utils
|
|
||||||
CATEGORY:=Utilities
|
|
||||||
DEPENDS:=+libmbim
|
|
||||||
TITLE:=Utilities to talk to MBIM enabled modems
|
|
||||||
URL:=https://www.freedesktop.org/wiki/Software/libmbim
|
|
||||||
LICENSE:=GPL-2.0-or-later
|
|
||||||
LICENSE_FILES:=COPYING
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/include/libmbim-glib \
|
|
||||||
$(1)/usr/include/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/libmbim*.so* \
|
|
||||||
$(1)/usr/lib/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mbim-glib.pc \
|
|
||||||
$(1)/usr/lib/pkgconfig
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libmbim/install
|
|
||||||
$(INSTALL_DIR) \
|
|
||||||
$(1)/usr/lib \
|
|
||||||
$(1)/usr/libexec
|
|
||||||
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/libmbim*.so.* \
|
|
||||||
$(1)/usr/lib/
|
|
||||||
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/mbim-proxy $(1)/usr/libexec/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/mbim-utils/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbimcli $(1)/usr/bin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbim-network $(1)/usr/bin/
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libmbim))
|
|
||||||
$(eval $(call BuildPackage,mbim-utils))
|
|
|
@ -1,31 +0,0 @@
|
||||||
menu "Configuration"
|
|
||||||
depends on PACKAGE_libqmi
|
|
||||||
|
|
||||||
config LIBQMI_WITH_MBIM_QMUX
|
|
||||||
bool "Include MBIM QMUX service support"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
Compile libqmi with QMI-over-MBIM support
|
|
||||||
|
|
||||||
config LIBQMI_WITH_QRTR_GLIB
|
|
||||||
bool "Include QRTR support"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
Compile libqmi with QRTR support
|
|
||||||
|
|
||||||
choice
|
|
||||||
prompt "Select QMI message collection to build"
|
|
||||||
default LIBQMI_COLLECTION_BASIC
|
|
||||||
|
|
||||||
config LIBQMI_COLLECTION_MINIMAL
|
|
||||||
depends on !MODEMMANAGER_WITH_QMI
|
|
||||||
bool "minimal"
|
|
||||||
|
|
||||||
config LIBQMI_COLLECTION_BASIC
|
|
||||||
bool "basic (default)"
|
|
||||||
|
|
||||||
config LIBQMI_COLLECTION_FULL
|
|
||||||
bool "full"
|
|
||||||
endchoice
|
|
||||||
|
|
||||||
endmenu
|
|
112
libqmi/Makefile
112
libqmi/Makefile
|
@ -1,112 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2016 Velocloud Inc.
|
|
||||||
# Copyright (C) 2016 Aleksander Morgado <aleksander@aleksander.es>
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=libqmi
|
|
||||||
PKG_SOURCE_VERSION:=1.34.0
|
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
|
||||||
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
|
|
||||||
PKG_MIRROR_HASH:=af3dc760d0c40ef8af1f8b424435daa12bff698ed45b1cc9a9e38ea62ed047f0
|
|
||||||
|
|
||||||
PKG_BUILD_FLAGS:=gc-sections
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=Nicholas Smith <nicholas@nbembedded.com>
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
|
||||||
include $(INCLUDE_DIR)/meson.mk
|
|
||||||
|
|
||||||
TARGET_CFLAGS += -fno-merge-all-constants -fmerge-constants
|
|
||||||
|
|
||||||
define Package/libqmi/config
|
|
||||||
source "$(SOURCE)/Config.in"
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libqmi
|
|
||||||
SECTION:=libs
|
|
||||||
CATEGORY:=Libraries
|
|
||||||
DEPENDS:= \
|
|
||||||
+glib2 \
|
|
||||||
+LIBQMI_WITH_MBIM_QMUX:libmbim \
|
|
||||||
+LIBQMI_WITH_QRTR_GLIB:libqrtr-glib
|
|
||||||
TITLE:=Helper library to talk to QMI enabled modems
|
|
||||||
URL:=https://www.freedesktop.org/wiki/Software/libqmi
|
|
||||||
LICENSE:=LGPL-2.0-or-later
|
|
||||||
LICENSE_FILES:=COPYING.LIB
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libqmi/description
|
|
||||||
Helper library talk to QMI enabled modems.
|
|
||||||
Add qmi-utils for extra utilities.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/qmi-utils
|
|
||||||
SECTION:=utils
|
|
||||||
CATEGORY:=Utilities
|
|
||||||
DEPENDS:=+libqmi
|
|
||||||
TITLE:=Utilities to talk to QMI enabled modems
|
|
||||||
URL:=https://www.freedesktop.org/wiki/Software/libqmi
|
|
||||||
LICENSE:=GPL-2.0-or-later
|
|
||||||
LICENSE_FILES:=COPYING
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libqmi-utils/description
|
|
||||||
Utils to talk to QMI enabled modems
|
|
||||||
endef
|
|
||||||
|
|
||||||
MESON_ARGS += \
|
|
||||||
-Dudev=false \
|
|
||||||
-Dintrospection=false \
|
|
||||||
-Dman=false \
|
|
||||||
-Dbash_completion=false \
|
|
||||||
-Db_lto=true \
|
|
||||||
-Dmbim_qmux=$(if $(CONFIG_LIBQMI_WITH_MBIM_QMUX),true,false) \
|
|
||||||
-Dqrtr=$(if $(CONFIG_LIBQMI_WITH_QRTR_GLIB),true,false) \
|
|
||||||
-Dcollection=$(if $(CONFIG_LIBQMI_COLLECTION_MINIMAL),minimal\
|
|
||||||
,$(if $(CONFIG_LIBQMI_COLLECTION_BASIC),basic,full))
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/include/libqmi-glib \
|
|
||||||
$(1)/usr/include/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/libqmi*.so* \
|
|
||||||
$(1)/usr/lib/
|
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/qmi-glib.pc \
|
|
||||||
$(1)/usr/lib/pkgconfig
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libqmi/install
|
|
||||||
$(INSTALL_DIR) \
|
|
||||||
$(1)/usr/lib \
|
|
||||||
$(1)/usr/libexec
|
|
||||||
|
|
||||||
$(CP) \
|
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/libqmi*.so.* \
|
|
||||||
$(1)/usr/lib/
|
|
||||||
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/qmi-proxy $(1)/usr/libexec/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/qmi-utils/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qmicli $(1)/usr/bin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qmi-network $(1)/usr/bin/
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qmi-firmware-update $(1)/usr/bin/
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libqmi))
|
|
||||||
$(eval $(call BuildPackage,qmi-utils))
|
|
Loading…
Add table
Add a link
Reference in a new issue