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: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:546: * unexpected circular-char.ko in ALL_PREBUILT
#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....