summaryrefslogtreecommitdiff
path: root/scripts/package-build/linux-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package-build/linux-kernel')
-rw-r--r--scripts/package-build/linux-kernel/config/12-wwan.config13
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/package-build/linux-kernel/config/12-wwan.config b/scripts/package-build/linux-kernel/config/12-wwan.config
index c989376b..1e3280ac 100644
--- a/scripts/package-build/linux-kernel/config/12-wwan.config
+++ b/scripts/package-build/linux-kernel/config/12-wwan.config
@@ -8,7 +8,18 @@ CONFIG_IOSM=m
CONFIG_MTK_T7XX=m
# end of Wireless WAN
-CONFIG_USB_SERIAL_WWAN=y
+# The USB WWAN drivers below are requested as built-in, so their parent
+# symbols must be built-in too - a tristate can never exceed the value of
+# what it depends on. amd64 already had both =y, arm64 only had =m which
+# silently demoted every driver in this snippet to a module.
+CONFIG_USB_USBNET=y
+CONFIG_USB_SERIAL=y
+
+# USB_SERIAL_WWAN has no prompt - it is only ever reached via select,
+# so it has to be pulled in by building its users in. amd64 already did this,
+# arm64 had them as modules and therefore got USB_SERIAL_WWAN=m.
+CONFIG_USB_SERIAL_QUALCOMM=y
+CONFIG_USB_SERIAL_SIERRAWIRELESS=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_NET_CDC_NCM=y