Skip to content

Commit

Permalink
usbnet: update kernel fixups for wwan support
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Dec 24, 2024
1 parent 4cf5e05 commit 0f8146f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package/usbnet/usbnet.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ endef
endif

ifeq ($(BR2_PACKAGE_USBNET_WWAN_SERIAL),y)
define USBNET_LINUX_CONFIG_FIXUPS_CDC_ETHER
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_USBNET)
define USBNET_LINUX_CONFIG_FIXUPS_WWAN_SERIAL
$(call KCONFIG_SET_OPT,CONFIG_USB_ACM,m)
$(call KCONFIG_SET_OPT,CONFIG_USB_SERIAL,m)
$(call KCONFIG_SET_OPT,CONFIG_USB_SERIAL_WWAN,m)
$(call KCONFIG_ENABLE_OPT,CONFIG_USB_SERIAL_GENERIC)
$(call KCONFIG_SET_OPT,CONFIG_USB_SERIAL_OPTION,m)
endef
define USBNET_INSTALL_TARGET_CMDS
Expand Down Expand Up @@ -78,7 +80,7 @@ endif
define USBNET_LINUX_CONFIG_FIXUPS
$(call USBNET_LINUX_CONFIG_FIXUPS_USB_DIRECT_NCM)
$(call USBNET_LINUX_CONFIG_FIXUPS_CDC_ETHER)
$(call BR2_PACKAGE_USBNET_WWAN_SERIAL)
$(call USBNET_LINUX_CONFIG_FIXUPS_WWAN_SERIAL)
$(call USBNET_LINUX_CONFIG_FIXUPS_RNDIS)
$(call USBNET_LINUX_CONFIG_FIXUPS_ASIX)
$(call USBNET_LINUX_CONFIG_FIXUPS_ASIX_179_178A)
Expand Down

0 comments on commit 0f8146f

Please sign in to comment.