From 5e7759135e64220ec449fd6be22c7d1f5ffd71c7 Mon Sep 17 00:00:00 2001 From: Diogo Ferreira Date: Tue, 29 Nov 2011 11:44:41 +0000 Subject: [PATCH] qcom-display: Only include products for MSM boards This change properly excludes these products from being inherited by non-qcom devices. Beware that the MSM7K_BOARD_PLATFORMS is not in place yet and if you want to try these with currently unsupported devices you will have to define this yourself. Change-Id: I4c7f2d84df4dbde1e18ded4ca9f2333006b89bd6 --- Android.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index 1f6937f..16d3a1a 100644 --- a/Android.mk +++ b/Android.mk @@ -1,4 +1,6 @@ #Enables the listed display HAL modules -display-hals := libhwcomposer liboverlay libgralloc libcopybit -include $(call all-named-subdir-makefiles,$(display-hals)) +ifeq ($(call is-board-platform-in-list,$(MSM7K_BOARD_PLATFORMS)),true) + display-hals := libhwcomposer liboverlay libgralloc libcopybit + include $(call all-named-subdir-makefiles,$(display-hals)) +endif