2016-10-29 17:00:35 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2016 The CyanogenMod Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
|
|
|
DEVICE_PATH := device/xiaomi/land
|
2016-10-31 02:19:02 +00:00
|
|
|
CM_PATH := vendor/cm/device/board
|
2016-10-29 17:00:35 +00:00
|
|
|
|
2016-11-09 01:12:36 +00:00
|
|
|
# Define platform before including any common things
|
|
|
|
include $(DEVICE_PATH)/PlatformConfig.mk
|
|
|
|
|
2016-10-31 02:19:02 +00:00
|
|
|
# Inherit common ARM64 board fragments
|
|
|
|
include $(CM_PATH)/common/arm64/architecture.mk
|
|
|
|
include $(CM_PATH)/common/arm64/binder.mk
|
|
|
|
|
|
|
|
# Inherit common board fragments
|
|
|
|
include $(CM_PATH)/common/bluetooth.mk
|
|
|
|
include $(CM_PATH)/common/bootloader.mk
|
|
|
|
include $(CM_PATH)/common/camera.mk
|
2016-11-07 03:11:39 +00:00
|
|
|
include $(CM_PATH)/common/clang.mk
|
2016-10-31 02:19:02 +00:00
|
|
|
include $(CM_PATH)/common/cpusets.mk
|
2016-11-07 01:16:31 +00:00
|
|
|
include $(CM_PATH)/common/dlmalloc.mk
|
2016-10-31 02:19:02 +00:00
|
|
|
include $(CM_PATH)/common/gps.mk
|
|
|
|
include $(CM_PATH)/common/sepolicy.mk
|
|
|
|
|
|
|
|
# Inherit QCOM board fragments
|
|
|
|
include $(CM_PATH)/qcom/bluetooth.mk
|
2016-11-09 01:07:42 +00:00
|
|
|
include $(CM_PATH)/qcom/bootloader.mk
|
2016-10-31 02:19:02 +00:00
|
|
|
include $(CM_PATH)/qcom/cne.mk
|
2016-11-02 13:12:08 +00:00
|
|
|
include $(CM_PATH)/qcom/encryption.mk
|
2016-10-31 02:19:02 +00:00
|
|
|
include $(CM_PATH)/qcom/fm.mk
|
2016-11-08 13:52:04 +00:00
|
|
|
include $(CM_PATH)/qcom/gps.mk
|
2016-10-31 02:19:02 +00:00
|
|
|
include $(CM_PATH)/qcom/per-mgr.mk
|
|
|
|
include $(CM_PATH)/qcom/platform.mk
|
2016-11-01 09:41:32 +00:00
|
|
|
include $(CM_PATH)/qcom/power.mk
|
2016-10-31 02:19:02 +00:00
|
|
|
include $(CM_PATH)/qcom/ril.mk
|
|
|
|
include $(CM_PATH)/qcom/sepolicy.mk
|
|
|
|
include $(CM_PATH)/qcom/time.mk
|
|
|
|
|
|
|
|
# Inherit Cyanogen board fragments
|
|
|
|
include $(CM_PATH)/cyanogen/hardware.mk
|
|
|
|
|
|
|
|
# Inherit device-specific board fragments
|
2016-10-29 17:00:35 +00:00
|
|
|
include $(DEVICE_PATH)/board/*.mk
|
|
|
|
|
|
|
|
# Inherit the proprietary files
|
|
|
|
-include vendor/xiaomi/land/BoardConfigVendor.mk
|