summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-07-31 17:26:40 -0700
committerSteve Kondik <shade@chemlab.org>2013-07-31 17:26:40 -0700
commite907c49d19362c3b66815694696cb514d352cdc3 (patch)
tree5080d533490e80f655a61f02a3d44580723ac820
parent2f27879c23305a94554769b0b70c23c95c1ba6ba (diff)
downloadandroid_hardware_qcom_display-stable/cm-10.2.tar.gz
android_hardware_qcom_display-stable/cm-10.2.tar.bz2
android_hardware_qcom_display-stable/cm-10.2.zip
display: Fix handling of QCOM_BSPcm-10.2.1cm-10.2.0cm-10.2-M1stable/cm-10.2cm-10.2
* Only set this CFLAG if the device declares TARGET_USES_QCOM_BSP. Change-Id: Id1c02c5d1cca9016d46005333ba1e2a22e75e1cb
-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