# the following variables could be overridden
TARGET_NO_BOOTLOADER ?= true
TARGET_NO_RECOVERY ?= true
-TARGET_HARDWARE_3D ?= false
TARGET_PROVIDES_INIT_RC ?= true
TARGET_HAS_THIRD_PARTY_APPS ?= false
BOARD_WPA_SUPPLICANT_DRIVER ?= AWEXT
WPA_SUPPLICANT_VERSION ?= VER_0_6_X
-BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot_hardware=$(TARGET_PRODUCT) acpi_sleep=s3_bios,s3_mode $(if $(BOARD_USES_DRM),,video=-16)
+ifneq ($(strip $(BOARD_GPU_DRIVERS)),)
+TARGET_HARDWARE_3D := true
+BOARD_EGL_CFG ?= device/common/gpu/egl_mesa.cfg
+endif
+
+BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot_hardware=$(TARGET_PRODUCT) acpi_sleep=s3_bios,s3_mode $(if $(BOARD_GPU_DRIVERS),,video=-16)
# Pick up some sounds
$(call inherit-product,frameworks/base/data/sounds/OriginalAudio.mk)
+# Get the hardware acceleration libraries
+$(call inherit-product-if-exists,device/common/gpu/gpu_mesa.mk)
+
# Get the touchscreen calibration tool
$(call inherit-product-if-exists,external/tslib/tslib.mk)