summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-08-29 14:57:41 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-08-29 14:57:41 +0800
commit3ea0051cad55fb3e53d49b9535f4cef8c417bdeb (patch)
tree967c44fcabe182506dd8fe371d768deb169dbce0
parentcfe21d9db8bf88dc06eb32ecbf3607c479e5554e (diff)
downloadexternal_drm_gralloc-3ea0051cad55fb3e53d49b9535f4cef8c417bdeb.zip
external_drm_gralloc-3ea0051cad55fb3e53d49b9535f4cef8c417bdeb.tar.gz
external_drm_gralloc-3ea0051cad55fb3e53d49b9535f4cef8c417bdeb.tar.bz2
remove outdated BOARD_USES_*
-rw-r--r--Android.mk27
1 files changed, 1 insertions, 26 deletions
diff --git a/Android.mk b/Android.mk
index f2ec111..571ec1c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -21,32 +21,7 @@
# Android.mk for drm_gralloc
-DRM_GPU_DRIVERS := $(BOARD_GPU_DRIVERS)
-
-# convert board uses to DRM_GPU_DRIVERS
-ifeq ($(strip $(DRM_GPU_DRIVERS)),)
-ifeq ($(strip $(BOARD_USES_I915C)),true)
-DRM_GPU_DRIVERS += i915
-endif
-ifeq ($(strip $(BOARD_USES_I965C)),true)
-DRM_GPU_DRIVERS += i965
-endif
-ifeq ($(strip $(BOARD_USES_I915G)),true)
-DRM_GPU_DRIVERS += i915g
-endif
-ifeq ($(strip $(BOARD_USES_R300G)),true)
-DRM_GPU_DRIVERS += r300g
-endif
-ifeq ($(strip $(BOARD_USES_R600G)),true)
-DRM_GPU_DRIVERS += r600g
-endif
-ifeq ($(strip $(BOARD_USES_NOUVEAU)),true)
-DRM_GPU_DRIVERS += nouveau
-endif
-ifeq ($(strip $(BOARD_USES_VMWGFX)),true)
-DRM_GPU_DRIVERS += vmwgfx
-endif
-endif # DRM_GPU_DRIVERS
+DRM_GPU_DRIVERS := $(strip $(filter-out swrast, $(BOARD_GPU_DRIVERS)))
intel_drivers := i915 i965 i915g
radeon_drivers := r300g r600g