Mercurial > mplayer.hg
view drivers/radeon/Makefile @ 22664:7480167a7f14
Remove unused variables INCLUDES and MOD_PATH_PREFIX.
author | diego |
---|---|
date | Sat, 17 Mar 2007 11:29:00 +0000 |
parents | b2d38d01bcc2 |
children | e3591c911457 |
line wrap: on
line source
KERNEL_INCLUDES = /usr/src/linux/include # auto install CONFIG_SHELL=/bin/sh -c KERNEL_VERSION=$(shell $(CONFIG_SHELL) 'uname -r') MOD_PATH=/lib/modules/$(KERNEL_VERSION)/kernel/drivers/video/ # # standard CFLAGS # CPPFLAGS := -D__KERNEL__ -DMODULE -I$(KERNEL_INCLUDES) CFLAGS := $(CPPFLAGS) -O2 \ -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math\ -include $(KERNEL_INCLUDES)/linux/modversions.h all: radeonfb.o radeon_vid.o rage128_vid.o radeonfb.o: radeonfb.c radeon.h radeon_vid.o: radeon_vid.c radeon.h radeon_vid.h radeonfb.o radeon_vid.o: $(CC) $(CFLAGS) -c $< rage128_vid.o: radeon_vid.c radeon.h radeon_vid.h $(CC) $(CFLAGS) -DRAGE128 -c $< -o $@ dep depend: clean: rm -f *.o *.a *~ distclean: clean install: mkdir -p $(MOD_PATH) cp radeonfb.o $(MOD_PATH) cp radeon_vid.o $(MOD_PATH) cp rage128_vid.o $(MOD_PATH) depmod -a nodes: mknod /dev/radeon_vid c 178 0 ln -s /dev/radeon_vid /dev/rage128_vid # Stuff below is for me only ;) vid: make install rmmod radeon_vid modprobe radeon_vid mtrr=1 .PHONY: all dep depend clean distclean install nodes vid