Hai,
I need to compile the module “USB driver for GSM and CDMA modems” and integrate it to system.img
how to modify the kernel config & Android makefile and integrate this module to system.img.
When i compile manually, it’s throwing compilation error shown below,
elinux@android:~/projects/dragon410c/lollipop/APQ8016_410C_LA.BR.1.2.4-01810-8x16.0_5.1.1_Lollipop_P2/kernel$ make -j16 ARCH=arm CROSS_COMPILE=arm-linux-androideabi- modules
CC [M] drivers/usb/serial/usb_wwan.o
In file included from include/linux/kernel.h:14:0,
from drivers/usb/serial/usb_wwan.c:25:
drivers/usb/serial/usb_wwan.c: In function ‘usb_wwan_in_work’:
include/linux/dynamic_debug.h:64:16: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘ssize_t’ [-Wformat=]
error, forbidden warning: dynamic_debug.h:64
make[3]: *** [drivers/usb/serial/usb_wwan.o] Error 1
make[2]: *** [drivers/usb/serial] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2