summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-07-28 17:37:45 +0200
committerwm4 <wm4@mplayer2.org>2012-07-28 20:44:25 +0200
commitcf9587fc048be4e7d8dabb6644eac24e2d736ea3 (patch)
tree2cbe5a538e54fe56f53a585967b82625349c362b /Makefile
parentf53dcf163da2d94b7fd2b1257ede8cf91e6ce301 (diff)
downloadmpv-cf9587fc048be4e7d8dabb6644eac24e2d736ea3.tar.bz2
mpv-cf9587fc048be4e7d8dabb6644eac24e2d736ea3.tar.xz
Remove ancient kernel device drivers
These were device driver kernel modules for certain prehistoric graphic cards. The source code indicates these are written against early 2.4 kernels.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 0 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index 055e7d2c39..58bef81b85 100644
--- a/Makefile
+++ b/Makefile
@@ -792,40 +792,6 @@ realcodecs: CFLAGS += -g
ld -shared -o $@ $< -ldl -lc
-
-###### drivers #######
-
-KERNEL_INC = /lib/modules/`uname -r`/build/include
-KERNEL_VERSION = $(shell grep RELEASE $(KERNEL_INC)/linux/version.h | cut -d'"' -f2)
-KERNEL_CFLAGS = -O2 -D__KERNEL__ -DMODULE -Wall -I$(KERNEL_INC) -include $(KERNEL_INC)/linux/modversions.h
-KERNEL_OBJS = $(addprefix drivers/, mga_vid.o tdfx_vid.o radeon_vid.o rage128_vid.o)
-MODULES_DIR = /lib/modules/$(KERNEL_VERSION)/misc
-DRIVER_OBJS = $(KERNEL_OBJS) drivers/mga_vid_test drivers/tdfx_vid_test
-
-drivers: $(DRIVER_OBJS)
-
-$(DRIVER_OBJS): CFLAGS = $(KERNEL_CFLAGS)
-drivers/mga_vid.o: drivers/mga_vid.c drivers/mga_vid.h
-drivers/tdfx_vid.o: drivers/tdfx_vid.c drivers/3dfx.h
-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)
- install -m 644 $(KERNEL_OBJS) $(MODULES_DIR)
- depmod -a
- -mknod /dev/mga_vid c 178 0
- -mknod /dev/tdfx_vid c 178 0
- -mknod /dev/radeon_vid c 178 0
- -ln -s /dev/radeon_vid /dev/rage128_vid
-
-driversclean:
- -$(RM) $(DRIVER_OBJS) drivers/*~
-
-
-
-include $(DEP_FILES)
.PHONY: all doxygen locales *install* *tools drivers