OSDN Git Service

remove outdated BOARD_USES_*
authorChia-I Wu <olvaffe@gmail.com>
Mon, 29 Aug 2011 06:57:41 +0000 (14:57 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Mon, 29 Aug 2011 06:57:41 +0000 (14:57 +0800)
Android.mk

index f2ec111..571ec1c 100644 (file)
 
 # 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