mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 13:33:56 +08:00
🍓 Sync 2026-06-04 16:10:22
This commit is contained in:
1 parent
52c6346905
commit
37b3b0b2ee
289 files changed
+114950
-145
No files matched your search
@@ -0,0 +1,36 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=quectel-cm
|
||||
PKG_VERSION:=1.6.8
|
||||
PKG_RELEASE:=3
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/quectel-cm
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=WWAN
|
||||
TITLE:=Qconnector Manager for Quectel WWAN modules
|
||||
DEPENDS:= \
|
||||
+kmod-usb-net-cdc-mbim \
|
||||
+kmod-usb-net-qmi-wwan \
|
||||
+kmod-usb-net-qmi-wwan-fibocom \
|
||||
+kmod-usb-net-qmi-wwan-quectel \
|
||||
+kmod-usb-serial-option
|
||||
endef
|
||||
|
||||
define Package/quectel-cm/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/quectel-CM $(1)/usr/bin/quectel-cm
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/quectel-{mbim,qmi}-proxy $(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/lib/netifd/proto
|
||||
$(INSTALL_BIN) ./files/quectel.sh $(1)/lib/netifd/proto/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/net
|
||||
$(INSTALL_BIN) ./files/smp-affinity-mhi-pcie.sh $(1)/etc/hotplug.d/net/21-smp-affinity-mhi-pcie
|
||||
$(INSTALL_BIN) ./files/smp-affinity-qmi-usb.sh $(1)/etc/hotplug.d/net/22-smp-affinity-qmi-usb
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,quectel-cm))
|
||||
Reference in new issue
Block a user