mm & Android.mk clean

6,436 views
Skip to first unread message

Sambhav

unread,
Jul 3, 2010, 12:42:57 AM7/3/10
to android-porting

Hi, 

I have written a Android.mk file for creating a static library. 
I browse to the this library location in my android source code tree and execute
#mm
to compile it.

But many times I see that if I make changes to Android.mk file and recompile it just says 
make : Nothing to be done for 'files'

How can I call a clean the previous build and run it again just like make clean all. 

Regards,
Sambhav 

Deva R

unread,
Jul 5, 2010, 1:22:43 AM7/5/10
to isam...@gmail.com, android-porting
you can try

clean ur exisiting module
 make clean-<moudlename>
 eg: make clean-libomx (to clean libomx.so)


or,

touch one or all source files, in your library folder
 find . -exec touch {} \;

-Deva





RockNCode

unread,
Jul 6, 2010, 8:56:18 PM7/6/10
to android-porting
'mm -B' will rebuild all the libraries under that directory, suppose
it is equivalent to make clean all.
> > unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@ googlegroups.com>
> > website:http://groups.google.com/group/android-porting
Reply all
Reply to author
Forward
0 new messages