Compiling Kernel Module in ICS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Compiling Kernel Module in ICS

跳至解决方案
1,477 次查看
venkatramangurr
Contributor I

Hi All,

I am currently trying to compile kernel module for a local echo driver in ICS. I got success while trying the same in GB but doing so in ICS the echo driver is not get compiled to KO object

I got below errors while compiling

make circular .so - .so dependency dropped in android

#build/core/main.mk:537: *** Some files have been added to ALL_PREBUILT.

#build/core/main.mk:538: *

#build/core/main.mk:539: * ALL_PREBUILT is a deprecated mechanism that

#build/core/main.mk:540: * should not be used for new files.

#build/core/main.mk:541: * As an alternative, use PRODUCT_COPY_FILES in

#build/core/main.mk:542: * the appropriate product definition.

#build/core/main.mk:543: * build/target/product/core.mk is the product

#build/core/main.mk:544: * definition used in all products.

#build/core/main.mk:545: *

#build/core/main.mk:546: * unexpected circular-char.ko in ALL_PREBUILT

#build/core/main.mk:547: *

#build/core/main.mk:548: *** ALL_PREBUILT contains unexpected files.  Stop.


I know that the problem is in Android.mk of the echo driver source, So please guide me on making make file in ICS


Looking forward for your guidlines....


Regards

Venkatraman


标签 (2)
标记 (4)
0 项奖励
回复
1 解答
1,001 次查看
max_tsai
NXP Employee
NXP Employee

I am not sure if you modified ALL_PREBUILT table for your error message.

You can refer to "system/wlan/atheros". It's WiFi module, and built as KO format.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,002 次查看
max_tsai
NXP Employee
NXP Employee

I am not sure if you modified ALL_PREBUILT table for your error message.

You can refer to "system/wlan/atheros". It's WiFi module, and built as KO format.

0 项奖励
回复