…/lk/project/msm8953.mk
ifeq ($(TARGET_BUILD_VARIANT),user)
DEBUG := 0
else
DEBUG := 1
ENABLE_FBCON_DISPLAY_MSG := 1
endif
ifeq ($(ENABLE_FBCON_DISPLAY_MSG),1)
DEFINES += FBCON_DISPLAY_MSG=1
endif
…/lk/app/aboot/aboot.c boot_init()
dprintf(INFO, "** [wuchengbing] FBCON_DISPLAY_MSG:%d **\n", FBCON_DISPLAY_MSG);
#if FBCON_DISPLAY_MSG
dprintf(INFO, "** [wuchengbing] display_fastboot_menu(); **before\n");
display_fastboot_menu();//
#endif
wuchengbing@ubuntu:~/gaotong/P3590/arm11/zprojects$ grep TARGET_BUILD_VARIANT -rwn .
./lxf_p3590_b01/replace_files/device/qcom/msm8953_32/msm8953_32.mk:144: ifeq ($(TARGET_BUILD_VARIANT),user)
./lxf_p3590_b01/replace_files/build/core/main.mk:306:$(info Set TARGET_BUILD_VARIANT in buildspec.mk, or use lunch or)
./lxf_p3590_b01/replace_files/build/core/main.mk:313:ifneq ($(filter-out $(INTERNAL_VALID_VARIANTS),$(TARGET_BUILD_VARIANT)),)
./lxf_p3590_b01/replace_files/build/core/main.mk:316:$(info Invalid variant: $(TARGET_BUILD_VARIANT))
./lxf_p3590_b01/replace_files/build/core/main.mk:388:user_variant := $(filter user userdebug,$(TARGET_BUILD_VARIANT))
./lxf_p3590_b01/replace_files/build/core/main.mk:434:ifeq ($(TARGET_BUILD_VARIANT),eng)
./lxf_p3590_b01/replace_files/build/core/main.mk:1091:ifneq ($(filter eng userdebug,$(TARGET_BUILD_VARIANT)),)
./lxf_p3590_b01/env_lxf_p3590_b01.ini:11:TARGET_BUILD_VARIANT=userdebug
zproject/lxf_p3590_b01/LCTPreConfig_lxf_p3590_b01.mk
[lxf_p3590_b01]
#LCT add begin
version_no=26
ext_version_no=1.7
RF_verno=01
TARGET_SIMULATOR=false
TARGET_PRODUCT=msm8953_64
TARGET_BUILD_TYPE=release
TARGET_BUILD_VARIANT=userdebug
Wu_Being 博客声明:本人博客欢迎转载,请标明博客原文和原链接!谢谢!
《Android eng版本开机有fastboot界面(lk代码分析)》
http://blog.csdn.net/u014134180/article/details/78132639
如果你看完这篇博文,觉得对你有帮助,并且愿意付赞助费,那么我会更有动力写下去。