changeset 32239:0abb6e07e3cb

Add an actual .c file for the rage128_vid kernel module. It's easier to handle compilation and dependencies this way. We also do this in other places like VIDIX for the Rage128 implementation.
author diego
date Mon, 20 Sep 2010 19:20:06 +0000
parents 0a696d3e1d01
children 974e9c9fa9c5
files Makefile drivers/rage128_vid.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Sep 20 12:31:09 2010 +0000
+++ b/Makefile	Mon Sep 20 19:20:06 2010 +0000
@@ -1095,7 +1095,6 @@
 drivers/radeon_vid.o drivers/rage128_vid.o: CFLAGS += -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math
 drivers/radeon_vid.o: drivers/radeon_vid.c drivers/radeon.h drivers/radeon_vid.h
 drivers/rage128_vid.o: drivers/radeon_vid.c drivers/radeon.h drivers/radeon_vid.h
-	$(CC) $(CFLAGS) -DRAGE128 -c $< -o $@
 
 install-drivers: $(DRIVER_OBJS)
 	-mkdir -p $(MODULES_DIR)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/drivers/rage128_vid.c	Mon Sep 20 19:20:06 2010 +0000
@@ -0,0 +1,3 @@
+#define RAGE128
+
+#include "radeon_vid.c"