포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 20MB 입니다.

머라도 올릴것 없을까 생각한던중에....
Android make옵션이 잘 정리 된것이 있어서요.
Android.mk Variable등의 내용도 잘 정리 되어 있습니다.
참고하세요


출처:http://android.git.kernel.org/?p=platform/build.git;a=blob_plain;f=core/build-system.html

  • droid - make droid is the normal build. This target is here because the default target has to have a name.
  • all - make all builds everything make droid does, plus everything whose LOCAL_MODULE_TAGS do not include the "droid" tag. The build server runs this to make sure that everything that is in the tree and has an Android.mk builds.
  • clean-$(LOCAL_MODULE) and clean-$(LOCAL_PACKAGE_NAME) - Let you selectively clean one target. For example, you can type make clean-libutils and it will delete libutils.so and all of the intermediate files, or you can type make clean-Home and it will clean just the Home app.
  • clean - make clean deletes all of the output and intermediate files for this configuration. This is the same as rm -rf out/<configuration>/
  • clobber - make clobber deletes all of the output and intermediate files for all configurations. This is the same as rm -rf out/.
  • dataclean - make dataclean deletes contents of the data directory inside the current combo directory. This is especially useful on the simulator and emulator, where the persistent data remains present between builds.
  • showcommands - showcommands is a modifier target which causes the build system to show the actual command lines for the build steps, instead of the brief descriptions. Most people don't like seeing the actual commands, because they're quite long and hard to read, but if you need to for debugging purposes, you can add showcommands to the list of targets you build. For example make showcommands will build the default android configuration, and make runtime showcommands will build just the runtime, and targets that it depends on, while displaying the full command lines. Please note that there are a couple places where the commands aren't shown here. These are considered bugs, and should be fixed, but they're often hard to track down. Please let android-build-team know if you find any.
  • LOCAL_MODULE - Anything you specify as a LOCAL_MODULE in an Android.mk is made into a pseudotarget. For example, make runtime might be shorthand for make out/linux-x86-debug/system/bin/runtime (which would work), and make libkjs might be shorthand for make out/linux-x86-debug/system/lib/libkjs.so (which would also work).
  • targets - make targets will print a list of all of the LOCAL_MODULE names you can make.


고현철

2009.07.18 01:39:28
*.59.122.199

좀 정리해 봐야겠네요....^^

검린

2010.02.18 02:41:05
*.144.166.219

잘 읽었습니다.

honggun

2010.07.16 22:03:40
*.50.20.41

오오~~ 딱 필요한 자료네요.. 감솨요~

List of Articles
번호 제목 글쓴이 날짜 조회 수sort
24 S3C6410 프로세서용 Andoird Kernel 2.6.29 이식 방법 #1 [2] 김재훈 2009-09-04 15823
23 [실습-03] android source compile시 battery 부분 patch하기 [7] 고도리 2010-05-24 15897
22 Android 2.1 source tree 설명 file [20] 고도리 2010-09-02 15901
21 삼성 안드로이드폰(갤럭시) 리눅스 커널 소스코드 file [3] 유형목 2009-09-01 15909
20 Android OpenCore 모임추진 ? [8] 장석원 2009-08-07 16001
19 Android 부팅 및 초기화 절차 김재훈 2009-04-09 17000
18 Android 윈도우에서 git로 소스 받기.. [3] 2009-07-14 17021
17 [번역] Android Opencore Multimedia Framework 번역본 file [7] 고도리 2009-08-25 17636
16 PV와 Android [5] 이제현 2009-04-19 18163
15 android를 6410에 포팅하면서... [7] 전병환 2009-04-10 18228
14 Android audioflinger 분석자료 입니다. file [11] 고현철 2009-07-30 18819
13 Android Debug Bridge(ADB) 사용 가이드 김재훈 2009-04-09 18864
12 Android 2.x AudioFlinger와 HAL의 연결 구조 분석 [2] JhoonKim 2010-04-08 19343
» Android make옵션 [3] 2009-07-16 19464
10 [번역] Android Camera Framework 번역 file [7] 고도리 2009-09-10 19665
9 S3C6410 target으로의 Android porting에 대하여(1) [3] 고현철 2009-04-23 20133
8 Android에서의 Linux Network 환경 설정 방법 [1] 김재훈 2009-04-21 20516
7 Android용 root filesystem으로 cramfs 구성 할 때의 주의사항 [7] 김영문 2009-04-09 21375
6 [참고] Android wifi howto - 아직 테스트는 다 못했습니다. file [10] 고도리 2009-09-22 21723
5 OpenGL ES와 Android [3] 이제현 2009-04-18 22839

사용자 로그인