aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor917 <cryscript@gmail.com>2016-10-27 14:45:54 +0700
committerFedor917 <cryscript@gmail.com>2016-10-27 14:45:54 +0700
commit8902802c09afd4b491ef8d3d0de6a2e18e03d476 (patch)
tree55ebe52b5e1aa25bb2e07971fcaa1e42b7cf5885
parent3c70cdb6cbd418efa79003b7c8a245b1e1862866 (diff)
Delete dependencies for oppo common. Build power.msm8996.so without dependencies for oppo common
-rw-r--r--BoardConfig.mk9
-rw-r--r--cm.dependencies4
-rw-r--r--device.mk3
3 files changed, 6 insertions, 10 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 0bcea80..a8848e1 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -23,9 +23,6 @@
# Boldly go.
USE_CLANG_PLATFORM_BUILD := true
-# Inherit from oppo-common
--include device/oppo/common/BoardConfigCommon.mk
-
TARGET_OTA_ASSERT_DEVICE := z2,Z2,z2plus,z2_plus
PLATFORM_PATH := device/zuk/z2_plus
@@ -125,6 +122,9 @@ BOARD_HAL_STATIC_LIBRARIES += libhealthd.zuk
# CM Hardware
BOARD_HARDWARE_CLASS += $(PLATFORM_PATH)/cmhw
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/touch/tp_dev/gesture_on"
+BOARD_USES_CYANOGEN_HARDWARE := true
+BOARD_HARDWARE_CLASS += \
+ hardware/cyanogen/cmhw
# CNE and DPM
TARGET_LDPRELOAD := libNimsWrap.so
@@ -177,6 +177,9 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3154116608
BOARD_USERDATAIMAGE_PARTITION_SIZE := 57436708864
BOARD_FLASH_BLOCK_SIZE := 262144
+# QCOM Power
+TARGET_POWERHAL_VARIANT := qcom
+
# RIL
TARGET_RIL_VARIANT := caf
PROTOBUF_SUPPORTED := true
diff --git a/cm.dependencies b/cm.dependencies
index ee87359..13aeb72 100644
--- a/cm.dependencies
+++ b/cm.dependencies
@@ -1,8 +1,4 @@
[
- {
- "repository": "android_device_oppo_common",
- "target_path": "device/oppo/common"
- },
{
"remote": "cm",
"repository": "android_device_qcom_common",
diff --git a/device.mk b/device.mk
index 6d66f2c..9631cab 100644
--- a/device.mk
+++ b/device.mk
@@ -292,6 +292,3 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini \
$(LOCAL_PATH)/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/qca_cld/WCNSS_cfg.dat
-
-# Inherit from oppo-common
-$(call inherit-product, device/oppo/common/common.mk)