Hello,
On Thu, 12 Jan 2012 11:34:44 +0000 "Jon Medhurst (Tixy)" tixy@linaro.org wrote:
On Thu, 2012-01-12 at 13:20 +0200, Paul Sokolovsky wrote:
I had a look at the latest http://wiki.linaro.org/Platform/Android/BuildSource and see that it doesn't mention the need to run ". build/envsetup.sh" explicitly. I don't know if that's omitted deliberately or just forgotten.
The wiki mentions that you don't need to run it. Under "Divergence from Google's standard build instructions"
Well, my reading doesn't give me such impression, let's see:
======== Google's build instructions include an extra step where 'lunch' is used to select a build target.
Since we specify the TARGET_PRODUCT and TARGET_TOOLS_PREFIX on the make command line, lunch is redundant, so can be skipped. There should be no difference in the build whether you run lunch or not. ========
So, it talks about "lunch", nothing else. Yes, there's some kind of "quote" which has envsetup.sh in it, but that's only to give some context. It's like a guy on ebay selling iphone power supply but picturing it together with iphone. Whoever bought a power supply for $300 is at their own fault ;-).
I don't if it works without it or no (I would doubt it does, but maybe there were changes to makefiles and stuff).
I've never done envsetup.sh, I just repo init, repo sync, and then...
PATH=$PWD/android-toolchain-eabi/bin/:$PATH make -j8 \ TARGET_PRODUCT=vexpress_a9 \ TARGET_TOOLS_PREFIX=$PWD/android-toolchain-eabi/bin/arm-linux-androideabi- \ boottarball systemtarball userdatatarball
http://source.android.com/source/building.html