-
Build environment
Install Ubuntu 9.10(Daum ftp)
-
Set Root user password
$ sudo passwd
-
Download and Install essential packages
$ sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl
$ sudo apt-get install valgrind
Android requires the following system packages:
1. flex : This lexical analyzer generator is used to read a given input file for a descrpition of a scanner to generate.
2. bison : This is a general-purpose parser generator.
3. gperf : This is a perfect has function generator.
4. libesd0-dev : This enlightened sound daemon (dev files) is used to mix digitized audio streams for playback by a single device.
5. libwxgtk2.6-dev : This package provides GUI components and other facilities for many differnet playforms.
6. build-essential : This package contains a list of packages considered fundamental to building to Debian Packages.
7. Android source code includes a hard dependency on the JAVA Developer Kit(JDK) 5.0 Update 12 or greater.
-
Get Android Source
These days, if you download android source, maybe Android source is downloaded except kernel source.
So you must check about this and modifiy manifest.
$ repo init u git://android.git.kernel.org/kernel/common.git
$ vi .repo/manifest.xml
Add line in .repo/manifest.xml
<project path="kernel" name="kernel/common" revision="refs/heads/android-2.6.27" />
$ sudo sync
-
Build Android
$ make
You can also build only kernel
$ cd kernel
$ make msm_defconfig ARCH=arm
$ make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toochain/arm-eabi-4.2.1/bin/arm-eabi-
$ make foldfish_defconfig ARCH=arm
$ make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toochain/arm-eabi-4.2.1/bin/arm-eabi-
reference : http://dev.odriod.com , http://google.com
'Embedded System > Software' 카테고리의 다른 글
NMEA Library (0) | 2009.11.26 |
---|---|
Kalman Filter (0) | 2009.11.15 |
Ziegler–Nichols method (0) | 2009.11.08 |
커널 부팅 로고 이미지 바꾸기(출처 : FALinux) (0) | 2009.08.13 |
__attribute__ (0) | 2009.07.24 |