[MPlayer-cvslog] r32323 - in trunk: Makefile drivers/rage128_vid.c

diego subversion at mplayerhq.hu
Mon Sep 20 21:20:07 CEST 2010


Author: diego
Date: Mon Sep 20 21:20:06 2010
New Revision: 32323

Log:
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.

Added:
   trunk/drivers/rage128_vid.c
Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Mon Sep 20 14:31:09 2010	(r32322)
+++ trunk/Makefile	Mon Sep 20 21:20:06 2010	(r32323)
@@ -1095,7 +1095,6 @@ drivers/tdfx_vid.o: drivers/tdfx_vid.c d
 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)

Added: trunk/drivers/rage128_vid.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/drivers/rage128_vid.c	Mon Sep 20 21:20:06 2010	(r32323)
@@ -0,0 +1,3 @@
+#define RAGE128
+
+#include "radeon_vid.c"


More information about the MPlayer-cvslog mailing list