unable to compile the newly added files in the android source code while building the android image

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

unable to compile the newly added files in the android source code while building the android image

1,016 Views
mutyalaraoneela
Contributor III

HI,

     Iam not able to see the binaries of my newly added folder in the android source code in kitkat 4.4.3_2.0.0 in EXECUTABLES while building the source code.But at the time of building I am able to see it including the Android.mk file of my folder but not compiling the "c" files in that particular folder.Iam using 12.04 ubuntu (64bit).

Please help me in getting out of this.Waiting for positive reply.

Thank you,

Mutyala rao.

0 Kudos
Reply
4 Replies

930 Views
sanshanzhang
NXP Employee
NXP Employee

Can you share your Android.mk?

0 Kudos
Reply

930 Views
jimmychan
NXP TechSupport
NXP TechSupport

here is the example:

LOCAL_PATH:=$(call my-dir)

include $(CLEAR_VARS)

LOCAL_SRC_FILES:= helloworld.c

LOCAL_MODULE:= helloworld

LOCAL_MODULE_TAGS := optional

include $(BUILD_EXECUTABLE)

0 Kudos
Reply

930 Views
sanshanzhang
NXP Employee
NXP Employee

Firstly your .mk file  should be included by your last dir.

Secondly, you should add helloworld in PRODUCT_PACKAGE which is in  device/fsl/imx6/imx6.mk

0 Kudos
Reply

930 Views
jimmychan
NXP TechSupport
NXP TechSupport

what is the content of your Android.mk ?

0 Kudos
Reply