On Tue, Jun 12, 2012 at 8:59 PM, Zach Pfeffer zach.pfeffer@linaro.org wrote:
On 12 June 2012 12:48, Alexander Sack asac@linaro.org wrote:
On Tue, Jun 12, 2012 at 7:39 PM, Zach Pfeffer zach.pfeffer@linaro.org wrote:
Team,
Here's the idea, we put the build configuration and anything else we need to build the build into the build. We fix the builds so that people can use the instructions listed on:
The only thing I am not sure about is that I still haven't seen an official instruction that would build a full platform - including the kernel... so whatever we do, we might have slightly deviated way of doing things as we produce a fully bootable system
What do you mean. The kernel is built as part of the platform, like it is today.
IIRC, in gingerbread AOSP there was no manifest with a kernel inside. Hence whatever you did with lunch and munch you didn't end up with a bootable image.
Maybe they have a manifest with kernel for panda by now?
In general I agree though that sticking to the pristine upstream instructions is a worthwhile goal.
I think you misunderstood. All I want to do is to allow people to build Android using the instructions listed on android.com. These would be:
source build/envsetup.sh lunch full_panda-eng
instead of:
wget --no-check-certificate http://android-build.linaro.org/download/linaro-android_toolchain-4.7-bzr/la...
tar -jxvf android-toolchain-eabi-linaro-*
export NUM_PROC=`getconf _NPROCESSORS_ONLN`
make -j${NUM_PROC} HOST_CC=gcc-4.7 HOST_CPP=cpp-4.7 HOST_CXX=g++-4.7 TARGET_PRODUCT=pandaboard TARGET_SIMULATOR=false TARGET_TOOLS_PREFIX=/path/to/toolchain/arm-linux-androideabi- boottarball systemtarball userdatatarball showcommands > build_log_YYMMDD.txt 2>&1 &
I think we do a few things here:
1. force a runtime compiler host version 2. force a target version that isn't in the built-in prebuilt tree 3. select to produce tarballs instead of .img files 4. select pandaboard 5. disable simulator
4. and 5. should already be selectable with lunch. 3. isn't, but at the same time I am not sure we want to change that hardcoded. for 2. and 1. I am not so sure about hard coding it either.
So I am not so sure about the concrete goal. I agree though that our tree should build and work if you just run lunch + make ... whether that's really exactly our build I don't know yet.
Maybe let's start and get it to build with just that.