display: Makefile changes for AOSP builds
- On some builds, the display HAL can be located in a subdirectory.
Use LOCAL_PATH to include local headers.
- Use msm and apq filters to pick up the qcom display HAL.
Change-Id: Ib9b47ececb37fda1ecde5ce1cbe1fce9b041f84a
diff --git a/Android.mk b/Android.mk
index 609d1e1..3fd19c1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -4,8 +4,7 @@
ifeq ($(call is-vendor-board-platform,QCOM),true)
include $(call all-named-subdir-makefiles,$(display-hals))
else
-ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),)
- #This is for mako since it doesn't have the QCOM make functions
+ifneq ($(filter msm% apq%,$(TARGET_BOARD_PLATFORM)),)
include $(call all-named-subdir-makefiles,$(display-hals))
endif
endif