mirror of
https://github.com/LiBwrt/nss-packages.git
synced 2025-12-16 17:15:09 +00:00
wwan: limit building to IPQ807x/IPQ50xx platforms
IPQ60xx platforms do not support `rmnet_nss`, so limit to IPQ807x and IPQ50xx. Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
17c99d8b48
commit
df691901d4
@ -20,7 +20,8 @@ PKG_BUILD_FLAGS:=gc-sections lto
|
||||
define KernelPackage/pcie_mhi
|
||||
SUBMENU:=WWAN Support
|
||||
TITLE:=Kernel pcie driver for MHI device
|
||||
DEPENDS:=+pciids +pciutils +quectel-cm +kmod-qmi_wwan_q
|
||||
DEPENDS:=@(TARGET_qualcommax_ipq807x||TARGET_qualcommax_ipq50xx) \
|
||||
+pciids +pciutils +quectel-cm +kmod-qmi_wwan_q
|
||||
FILES:=$(PKG_BUILD_DIR)/pcie_mhi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,90,pcie_mhi)
|
||||
endef
|
||||
|
||||
@ -20,11 +20,15 @@ PKG_BUILD_FLAGS:=gc-sections lto
|
||||
define KernelPackage/qmi_wwan_q
|
||||
SUBMENU:=WWAN Support
|
||||
TITLE:=Quectel Linux USB QMI WWAN Driver
|
||||
DEPENDS:=+kmod-usb-net +kmod-usb-wdm +kmod-qca-nss-drv +@NSS_DRV_RMNET_ENABLE
|
||||
DEPENDS:=@(TARGET_qualcommax_ipq807x||TARGET_qualcommax_ipq50xx) \
|
||||
+kmod-usb-net \
|
||||
+kmod-usb-wdm \
|
||||
+kmod-qca-nss-drv \
|
||||
+@NSS_DRV_RMNET_ENABLE
|
||||
FILES:=$(PKG_BUILD_DIR)/qmi_wwan_q.ko \
|
||||
$(PKG_BUILD_DIR)/rmnet_nss.ko
|
||||
$(PKG_BUILD_DIR)/rmnet_nss.ko
|
||||
AUTOLOAD:=$(call AutoLoad,42,rmnet_nss) \
|
||||
$(call AutoLoad,81,qmi_wwan_q)
|
||||
$(call AutoLoad,81,qmi_wwan_q)
|
||||
endef
|
||||
|
||||
define KernelPackage/qmi_wwan_q/description
|
||||
|
||||
Loading…
Reference in New Issue
Block a user