Update of /cvsroot/mplayer/main/drivers/radeon In directory mplayer:/var/tmp.root/cvs-serv3561/main/drivers/radeon Modified Files: Makefile README Log Message: Auto-install stuff Index: Makefile =================================================================== RCS file: /cvsroot/mplayer/main/drivers/radeon/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Makefile 27 Nov 2001 18:35:06 -0000 1.4 +++ Makefile 1 Dec 2001 15:22:10 -0000 1.5 @@ -1,5 +1,10 @@ KERNEL_INCLUDES = /usr/src/linux/include INCLUDES = -I$(KERNEL_INCLUDES) +# auto install +CONFIG_SHELL=/bin/sh -c +KERNEL_VERSION=$(shell $(CONFIG_SHELL) 'uname -r') +MOD_PATH_PREFIX= +MOD_PATH=$(MOD_PATH_PREFIX)/lib/modules/$(KERNEL_VERSION)/kernel/drivers/video/ # # standard CFLAGS @@ -28,5 +33,11 @@ rm -f *.o *~ install: - @echo Please copy *.o files to '/lib/modules/LINUX_VER/kernel/drivers/video' folder + mkdir -p $(MOD_PATH) + cp radeonfb.o $(MOD_PATH) + cp radeon_vid.o $(MOD_PATH) + cp rage128_vid.o $(MOD_PATH) + depmod -a + mknod /dev/radeon_vid c 178 0 + mknod /dev/rage128_vid c 178 0 Index: README =================================================================== RCS file: /cvsroot/mplayer/main/drivers/radeon/README,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- README 27 Nov 2001 18:35:06 -0000 1.4 +++ README 1 Dec 2001 15:22:10 -0000 1.5 @@ -10,11 +10,9 @@ Alternative way: ~~~~~~~~~~~~~~~~ -Simply type 'make' command in this directory then copy results ( *.o files ) to: -/lib/modules/$(LINUX_VER)/kernel/drivers/video -directory. -Don't forget about: -depmod -a +Simply type two commands in this directory: +make +make install Anyway you should have 'Frame buffer support' compiled into linux-kernel and at least '8bpp packed pixel support' compiled and installed as module. @@ -32,18 +30,9 @@ Installation: ~~~~~~~~~~~~~ -After building modules just copy them to: -/lib/modules/$(LINUX_VER)/kernel/drivers/video -directory. -Don't forget about: -depmod -a - -If you are doing it first time then create the device then execute -following command: -mknod /dev/radeon_vid c 178 0 -for radeon_vid.o -mknod /dev/rage128_vid c 178 0 -for rage128_vid.o +Simply type two commands in this directory: +make +make install Using with mplayer: ~~~~~~~~~~~~~~~~~~~