Example to have the serial driver:
- under /kernel/hikey-linaro/drivers/usb/serial/Makefile, add
obj-$(CONFIG_USB_SERIAL_SIERRAWIRELESS) += sierra.o
- under /kernel/hikey-linaro/drivers/usb/serial/Kconfig, add
obj-$(CONFIG_USB_SERIAL_SIERRAWIRELESS) += sierra.o
config USB_SERIAL_SIERRAWIRELESS
tristate “USB Sierra Wireless Driver”
help
Say M here if you want to use Sierra Wireless devices.
Many devices have a feature known as TRU-Install. For those devices
to work properly, the USB Storage Sierra feature must be enabled.
To compile this driver as a module, choose M here: the
module will be called sierra.
- set config_USB_SERIAL_SIERRAWIRELESS=m to make sierra.ko driver when building the Android image and then install the driver (insmod) during system start up.