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