2018-07-13 01:31:50 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
#######################
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
CEDARM_PATH=$(LOCAL_PATH)/..
|
|
|
|
include $(CEDARM_PATH)/config.mk
|
2018-12-13 10:48:25 +00:00
|
|
|
CONF_ANDROID_MAJOR_VERSION = $(shell echo $(PLATFORM_VERSION) | cut -c 1)
|
2018-07-13 01:31:50 +00:00
|
|
|
|
|
|
|
product = $(TARGET_BOARD_PLATFORM)
|
|
|
|
|
|
|
|
ifeq ($(product),)
|
|
|
|
$(error No TARGET_BOARD_PLATFORM value found!)
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := $(product)_cedarx.conf
|
|
|
|
|
|
|
|
ifeq ($(CONF_CMCC), yes)
|
|
|
|
$(warning You have selected $(product) cmcc cedarx.conf)
|
|
|
|
LOCAL_SRC_FILES := $(product)_cmcc_cedarx.conf
|
|
|
|
else
|
|
|
|
$(warning You have selected $(product) cedarx.conf)
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_MODULE := cedarx.conf
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT)/etc
|
2018-12-13 10:48:25 +00:00
|
|
|
|
2018-07-13 01:31:50 +00:00
|
|
|
LOCAL_MODULE_CLASS := FAKE
|
|
|
|
include $(BUILD_PREBUILT)
|