summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/amd64_gart/Makefile
diff options
context:
space:
mode:
authorGordon Ross <gordon.w.ross@gmail.com>2016-10-09 19:35:52 -0400
committerGordon Ross <gordon.w.ross@gmail.com>2016-11-22 21:55:16 -0500
commit3db4bae91fbc905faf0dda171b7f985f72deef99 (patch)
tree24d8eda14ad41733d85caccdc1792d62288e777d /usr/src/uts/intel/amd64_gart/Makefile
parentc9e5ece4570cc1b594bf3b5092f38afea4a4e25d (diff)
downloadillumos-gfx-drm-3db4bae91fbc905faf0dda171b7f985f72deef99.tar.gz
Update AGP interfaces for new DRM
Diffstat (limited to 'usr/src/uts/intel/amd64_gart/Makefile')
-rw-r--r--usr/src/uts/intel/amd64_gart/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr/src/uts/intel/amd64_gart/Makefile b/usr/src/uts/intel/amd64_gart/Makefile
index f2a2200..9aa5df8 100644
--- a/usr/src/uts/intel/amd64_gart/Makefile
+++ b/usr/src/uts/intel/amd64_gart/Makefile
@@ -4,8 +4,7 @@
#
# uts/intel/amd64_gart/Makefile
#
-#
-#ident "%Z%%M% %I% %E% SMI"
+
#
# This makefile drives the framework of agp protocol
# (amd64_gart) kernel module.
@@ -27,6 +26,7 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
+AMD64GART_OBJS += amd64_gart.o
#
# Define targets
@@ -56,6 +56,13 @@ clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
+$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
+$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c
+ @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
#
# Include common targets.
#