summaryrefslogtreecommitdiff
path: root/net/modemmanager/Makefile
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-10-04 21:40:22 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-10-19 21:39:26 +0200
commit2a31359c478025850a9feeb684b758ede62bf9c4 (patch)
tree4623f6aeb7cbdb00ba796202005d9754b55b2997 /net/modemmanager/Makefile
parent575776cfa59e45940b01e89cc61d404127194f94 (diff)
modemmanager: add support for wwan subsystem in hotplug
WWAN devices may now be exposed in the new 'wwan' subsystem in the kernel (since 5.13), initially applicable to devices exposed in PCIe (no USB), but at some point may also apply to USB devices that until now were exposed via other subsystems (e.g. usbmisc, tty). Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Diffstat (limited to 'net/modemmanager/Makefile')
-rw-r--r--net/modemmanager/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile
index c89a0b0f6..ce87b0a36 100644
--- a/net/modemmanager/Makefile
+++ b/net/modemmanager/Makefile
@@ -131,6 +131,9 @@ define Package/modemmanager/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/tty
$(INSTALL_DATA) ./files/25-modemmanager-tty $(1)/etc/hotplug.d/tty
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/wwan
+ $(INSTALL_DATA) ./files/25-modemmanager-wwan $(1)/etc/hotplug.d/wwan
+
$(INSTALL_DIR) $(1)/lib/netifd/proto
$(INSTALL_BIN) ./files/modemmanager.proto $(1)/lib/netifd/proto/modemmanager.sh
endef