Thursday, December 22, 2011

Build ICS

OS:Ubuntu 11.10 x86

download repo utility.
$ curl > ~/bin/repo
$ chmod a+x ~/bin/repo
Create directory and initialize git repository.
$ mkdir android-ics
$ cd andorid-ics
$ repo init -u -b android-4.0.1_r1
$ repo sync

$ bash
$ source ./build/
$ lunch full-eng
$ time make -j2 2>&1 |tee make.log
That method will be to the error on Ubuntu 11.10(x86).
$ emacs -nw build/core/combo/

$ emacs -nw external/gtest/include/gtest/internal/gtest-param-util.h
+#include   // 40 line

$ emacs -nw external/oprofile/libpp/format_output.h
 -               mutable counts_t & counts;
 +               counts_t & counts;  // 94 line

$ emacs -nw frameworks/compile/slang/
-local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -Werror
+local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter  # 22line

$ emacs -nw external/llvm/lib/Support/Mutex.cpp
 #include "llvm/Config/config.h"
 #include "llvm/Support/Mutex.h"
+#undef ENABLE_THREADS  // 16 line

$ emacs -nw external/llvm/lib/Support/Signals.cpp

+#undef HAVE_DLFCN_H  // 28 line

$ emacs -nw external/llvm/lib/Support/Threading.cpp
 #include "llvm/Support/Mutex.h"
 #include "llvm/Config/config.h"
+#undef LLVM_MULTITHREADED  // 19 line

$ source build/
$ lunch full-eng
$ make -j2
launch emulator
$ emulator
But.... I failed to display AndroidOS home screen, after I succeed to launch emulator.


  1. Hyundai Sonata AC Compressor
    Excellent blog& presentation. Keep writing more and more. I voted for your blog and suggested your blog to my friends also.

  2. aisha, thank you for your comment.
    I should keep to write and technical presentation on this blog.
    If you know some good blogs, please tell me.