[android-porting] Re: How to integrate 3rd party buildsystem into Android BuidSystem

2009-11-19 Thread Chih-Wei
On 11月17日, 下午10時17分, Neeraj Agrawal wrote: > Was able to call native build system by invoking below line from a > Android.mk (as passing paths for CC, AS, AR, RANLIB and LD) > $(shell cd external//build && $(MAKE)) The better way: + $(MAKE) -C external//build -C changes the build dir to the spe

[android-porting] Re: How to integrate 3rd party buildsystem into Android BuidSystem

2009-11-17 Thread Neeraj Agrawal
Thanks Chih-Wei Was able to call native build system by invoking below line from a Android.mk (as passing paths for CC, AS, AR, RANLIB and LD) $(shell cd external//build && $(MAKE)) At the end of build (during linking) following error is reported:- /prebuilt/linux-x86/toolchain/i686-unknown-linux

[android-porting] Re: How to integrate 3rd party buildsystem into Android BuidSystem

2009-11-15 Thread Chih-Wei
This is not impossible, but depends on your knowledge about GNU make and Android build system. For example, see how Android-x86 integrated the kernel making with the Android build system: http://git.android-x86.org/?p=platform/build.git;a=blob;f=core/kernel.mk;h=e5f21646b58235fb9827fb0af6388b2ecd