mirror of
https://github.com/openwrt/packages.git
synced 2025-03-14 20:27:35 +00:00
modemmanager: add config optional netifd integration
This change introduces an optional configuration of the netifd integration in the ModemManager package. When disabled, it removes the NETIFD dependency and other unwanted components from the root filesystem during the build phase. Additionally, in the modemmanager.common the netifd-proto.sh inclusion line can be savely removed as there is no usage of it in its functions. Signed-off-by: Gilles Lenaerts <gilles.lenaerts_ext@softathome.com>
This commit is contained in:
committed by
Florian Eckert
parent
03f8663b8e
commit
5cb12d479b
net/modemmanager
@ -1,6 +1,12 @@
|
||||
menu "Configuration"
|
||||
depends on PACKAGE_modemmanager
|
||||
|
||||
config MODEMMANAGER_WITH_NETIFD
|
||||
bool "Include netifd support"
|
||||
default y
|
||||
help
|
||||
Provide ModemManager with netifd support
|
||||
|
||||
config MODEMMANAGER_WITH_MBIM
|
||||
bool "Include MBIM support"
|
||||
default y
|
||||
|
@ -153,9 +153,11 @@ define Package/modemmanager/install
|
||||
$(INSTALL_DATA) ./files/etc/hotplug.d/wwan/25-modemmanager-wwan \
|
||||
$(1)/etc/hotplug.d/wwan
|
||||
|
||||
ifeq ($(CONFIG_MODEMMANAGER_WITH_NETIFD),y)
|
||||
$(INSTALL_DIR) $(1)/lib/netifd/proto
|
||||
$(INSTALL_BIN) ./files/lib/netifd/proto/modemmanager.sh \
|
||||
$(1)/lib/netifd/proto
|
||||
endif
|
||||
endef
|
||||
|
||||
define Package/modemmanager-rpcd/install
|
||||
|
@ -5,7 +5,6 @@
|
||||
################################################################################
|
||||
|
||||
. /lib/functions.sh
|
||||
. /lib/netifd/netifd-proto.sh
|
||||
|
||||
################################################################################
|
||||
# Runtime state
|
||||
|
Reference in New Issue
Block a user