MTK平台factory.ini如何编译的

 

 

 

只找了个大概,细节等闲了再说。

估计关键内容就这么多了~

 

export MTK_ROOT_CUSTOM  := $(D_ROOT)/custom
export MTK_PATH_CUSTOM := $(MTK_ROOT_CUSTOM)/$(TARGET)

android/vendor/mediatek/proprietary/factory/Android.mk

HAVE_CUST_FOLDER := $(if $(wildcard $(MTK_PATH_CUSTOM)/factory),yes)
ifeq ($(HAVE_CUST_FOLDER),yes)
CUSTOM_PATH := $(MTK_PATH_CUSTOM)/factory
else
CUSTOM_PATH := $(GENERIC_CUSTOM_PATH)
endif

LOCAL_PATH :=  $(CUSTOM_PATH)

LOCAL_MODULE := factory.ini
LOCAL_MODULE_TAGS := optional

ifeq ($(MTK_FACTORY_MODE_IN_GB2312),yes)
  LOCAL_SRC_FILES := factory.chn.ini
else
  LOCAL_SRC_FILES := factory.ini
endif

你可能感兴趣的:(MTK平台factory.ini如何编译的)