# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2023 MCST

# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.

mga-y := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o

mga-$(CONFIG_COMPAT) += mga_ioc32.o
mga-$(CONFIG_PROTECTED_MODE) += mga_ioc128.o

obj-$(CONFIG_DRM_MGA)	+= mga.o

