aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Luther <luther.ralf@gmail.com>2019-01-20 14:49:03 +0100
committerRalf Luther <luther.ralf@gmail.com>2019-01-20 14:49:03 +0100
commitb2842d3d1b42c4103964ed166c5f1d61e9aeba92 (patch)
treee762168ba9e631803fd356b56eb20f8c609354be
parenta48c582cb6a93738339127c09ab9dee1a6ad42c1 (diff)
oppo-common: cleanup and exclude
* delete the depreciated Cyanogenmod hardware entry * exclude OnePlus AvB devices from using "TARGET_RECOVERY_UPDATER_LIBS" Change-Id: Ied34d7a34cc68ce31507c28650818d91a4d75399
-rw-r--r--BoardConfigCommon.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 713f4c9..e647fce 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -16,12 +16,9 @@
BOARD_VENDOR := oppo
-# CM Hardware
-BOARD_USES_CYANOGEN_HARDWARE := true
-BOARD_HARDWARE_CLASS += \
- hardware/cyanogen/cmhw
-
# Releasetools
-TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_oppo
-TARGET_RELEASETOOLS_EXTENSIONS := device/oppo/common
-
+# Do not use for AvB devices, so we exclude this for OP6 / OP6T
+ifeq ($(filter enchilada fajita,$(TARGET_DEVICE)),)
+ TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_oppo
+ TARGET_RELEASETOOLS_EXTENSIONS := device/oppo/common
+endif