OpenCore에서 log 찍기
Android :
2009. 10. 6. 13:38
반응형
OpenCore에서 log 찍기
OpenCore 디렉토리의 Android.mk 파일의 첫 부분을
ifneq ($(BUILD_WITHOUT_PV),true)
LOCAL_PATH := $(call my-dir)
PV_TOP := $(LOCAL_PATH)
include $(CLEAR_VARS)
PV_CFLAGS := -Wno-non-virtual-dtor -DENABLE_MEMORY_PLAYBACK -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_CML2_CONFIG -DPVLOGGER_INST_LEVEL=5
ifeq ($(ENABLE_PV_LOGGING),1)
PV_CFLAGS += -DPVLOGGER_INST_LEVEL=5
endif
이렇게 바꾼다.
the steps are
<android-root>$ source build/envsetup.sh
<android-root>$ lunch 1
<android-root>$ make clean
<android-root>$ make -j2 ENABLE_PV_LOGGING=1
<android-root>$ emulator & adb logcat
<android-root>$ source build/envsetup.sh
<android-root>$ lunch 1
<android-root>$ make clean
<android-root>$ make -j2 ENABLE_PV_LOGGING=1
<android-root>$ emulator & adb logcat
반응형
'Android' 카테고리의 다른 글
Android ALSA Porting (0) | 2009.10.07 |
---|---|
Android wifi Porting (0) | 2009.10.01 |
Android rotates LCD (안드로이드 화면 돌리기) (0) | 2009.09.26 |