Files
linux-legacy/drivers/mxc/amd-gpu/Makefile
Matt Sealey aac2fc75d3 gpu driver: remove most of the remaining "abstraction" for OS mutex and so on
* mutex, events, sleeps, process id unabstracted
 * defines for function types (inline, extern) unabstracted
 * defines for debug assert change name (KOS_ASSERT -> DEBUG_ASSERT) and left disabled
 * driver now warns, if logging is enabled, that interruptible mutex locks are interrupted (which never happens in reality but it fixes a warning)
 * remove fine grained locking "feature" since it's not enabled (and Qualcomm's public driver does not even implement it)
 * refine mutex initialization where it's still present - don't try and allocate mutex structures where they're always used, just make them parts of the structure (struct mutex * -> struct mutex)
 * whitespace police
2011-08-29 14:55:29 -05:00

34 lines
800 B
Makefile

EXTRA_CFLAGS := \
-D_LINUX \
-I$(obj)/include \
-I$(obj)/include/api \
-I$(obj)/include/ucode \
-I$(obj)/platform/hal/linux
obj-$(CONFIG_MXC_AMD_GPU) += gpu.o
gpu-objs += common/gsl_cmdstream.o \
common/gsl_cmdwindow.o \
common/gsl_context.o \
common/gsl_debug_pm4.o \
common/gsl_device.o \
common/gsl_drawctxt.o \
common/gsl_driver.o \
common/gsl_g12.o \
common/gsl_intrmgr.o \
common/gsl_memmgr.o \
common/gsl_mmu.o \
common/gsl_ringbuffer.o \
common/gsl_sharedmem.o \
common/gsl_yamato.o \
platform/hal/linux/gsl_linux_map.o \
platform/hal/linux/gsl_kmod.o \
platform/hal/linux/gsl_hal.o \
platform/hal/linux/gsl_kmod_cleanup.o \
platform/hal/linux/misc.o \
ifdef CONFIG_MXC_AMD_GPU_LOGGING
gpu-objs += common/gsl_log.o
EXTRA_CFLAGS += -DGSL_LOG
endif