# HG changeset patch # User diego # Date 1285010406 0 # Node ID 0abb6e07e3cbf199cce421ada8690fab00ce55a6 # Parent 0a696d3e1d016ebb8eb0871097d33cbd8125b40e 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. diff -r 0a696d3e1d01 -r 0abb6e07e3cb Makefile --- 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) diff -r 0a696d3e1d01 -r 0abb6e07e3cb drivers/rage128_vid.c --- /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"