Compiling Kernel Module in ICS

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

Compiling Kernel Module in ICS

Jump to solution
1,198 Views
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


Labels (2)
Tags (4)
0 Kudos
1 Solution
722 Views
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.

View solution in original post

0 Kudos
1 Reply
723 Views
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 Kudos