summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/common.mk b/common.mk
index c1b670b85..589b52b58 100644
--- a/common.mk
+++ b/common.mk
@@ -30,13 +30,10 @@ common_deps :=
kernel_includes :=
# Executed only on QCOM BSPs
-# Explicitly exclude mako, since CM adds the QCOM make functions and triggers
-# this block incorrectly
-ifeq ($(TARGET_QCOM_OLD_BSP),)
-ifeq ($(filter mako occam,$(TARGET_DEVICE)),)
+ifeq ($(TARGET_USES_QCOM_BSP),true)
common_flags += -DQCOM_BSP
endif
-endif
+
ifeq ($(call is-vendor-board-platform,QCOM),true)
common_deps += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
kernel_includes += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include