블로그 이미지
HISONA

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

calendar

1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30

'2012/11'에 해당되는 글 1

  1. 2012.11.02 Android Source 에서 Windows 용 SDK 빌드하기



Android Source 에서 Windows 용 SDK 빌드하기

2012. 11. 2. 15:44 | Posted by HISONA

Android Source 에서 Windows 용 SDK 빌드하기

(android-4.1.1_r6 기준)

 

1. 안드로이드 소스 받기

 

안드로이드 &커널 소스 다운 받기(구글 안드로이드, 각 제조사 오픈소스) 

http://olpost.com/v/3531216 참조

 

$ mkdir jb_4.1

$ cd jb_4.1

$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r6

$ repo sync

 

2. Windows 용 SDK build

 

Linux 장비에서 MinGw 를 통해서 Windows 용 SDK 를 빌드합니다.

 

1) Mingw for Linux, Tofrodos 받기

 

$ sudo apt-get install mingw32 tofrodos

 

2) Build

 

$ . build/envsetup.sh
$ lunch sdk-eng
$ make win_sdk

 

3. Goldfish Kernel Build

 

1) Goldfish Kernel 다운로드

 

$ git clone https://android.googlesource.com/kernel/goldfish.git kernel
$ cd kernel

$ git checkout --track -b android-goldfish-2.6.29 remotes/origin/android-goldfish-2.6.29

 

2) Kernel 빌드

 

$ make ARCH=arm goldfish_armv7_defconfig

$ make ARCH=arm CROSS_COMPILE=~/android/jb_4.1/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-

$ make

$ cp arch/arm/boot/zImage ./kernel-qemu

 

 

 

 

 

 

 

이전 1 다음