bcmdhd.ko in IMX6Q Android M

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bcmdhd.ko in IMX6Q Android M

1,742 Views
赵振业
Contributor I

Hi All:

   Kernel4.1.15  OS Android6.0

   在我们Imx6Q的开发板上移植bdmdhd WiFi功能的时候,发现在defconfig定义CONFIG_BCMDHD=y,可以编译生成bcmdhd.o文件,但是定义CONFIG_BCMDHD=m就无法生成ko文件,代码Clean重新编译也不行

bcmdhd的Makefile里面设定是obj-$(CONFIG_BCMDHD) += bcmdhd.o,DRIVER_TYPE是注释掉的,

我用单独的编译命令:make -C kernel_imx -j8 ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- LOADADDR=0x10008000 KCFLAGS=-mno-android

可以单独生成bcmdhd.ko

请问如何在整体编译的时候生成ko文件呢,是不是系统哪里的配置有问题?

Labels (1)
0 Kudos
1 Reply

1,366 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

   you can should "make moudules" to compile linux kernel when you configure it "m"  in kernel menu configuration.

Have a nice day!

TIC weidong sun

0 Kudos