From: Chia-I Wu Date: Mon, 29 Aug 2011 06:57:41 +0000 (+0800) Subject: remove outdated BOARD_USES_* X-Git-Tag: android-x86-4.4-r1~42 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3ea0051cad55fb3e53d49b9535f4cef8c417bdeb;p=android-x86%2Fexternal-drm_gralloc.git remove outdated BOARD_USES_* --- 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