Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > On Wed, Feb 19, 2003 at 05:49:38PM +0200, Ville Syrj�l� wrote: > > > > I keep the kernel build tree around and just do "make modules" after > > updating the fusion sources. Not the ideal solution but it's better than > > doing a full rebuild every time. > > Indeed, this works. It's a pain to rip out the older fusion and > insert the new one as new CVS updates are made however. 'Specially > with the way the module is structured in CVS. > > On Wed, Feb 19, 2003 at 08:57:36PM +0100, Denis Oliver Kropp wrote: > > > > Hmm, how is the <linux/fusion.h> installed/found then? > > Well, this seems to work just fine: > > $ cvs co linux-fusion > cvs server: Updating linux-fusion > U linux-fusion/README > U linux-fusion/TODO > ... > U linux-fusion/tests/.cvsignore > U linux-fusion/tests/latency.c > U linux-fusion/tests/throughput.c > $ cd linux-fusion/linux/drivers/char/fusion > $ make -C /usr/src/linux-2.4.19-16mdk1vsyncfusion SUBDIRS=$(pwd) > EXTRA_CFLAGS=-I../../../include modules > make: Entering directory `/usr/src/linux-2.4.19-16mdk1vsyncfusion' > make -C /usr/src/directfb/linux-fusion/linux/drivers/char/fusion > CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h" > MAKING_MODULES=1 modules > make[1]: Entering directory > `/usr/src/directfb/linux-fusion/linux/drivers/char/fusion' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=fifo -c -o fifo.o fifo.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=fusiondev -c -o fusiondev.o fusiondev.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=fusionee -c -o fusionee.o fusionee.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=list -c -o list.o list.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=property -c -o property.o property.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=reactor -c -o reactor.o reactor.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=ref -c -o ref.o ref.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk1vsyncfusion/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE > -DMODVERSIONS -include > /usr/src/linux-2.4.19-16mdk1vsyncfusion/include/linux/modversions.h > -I../../../include -nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include > -DKBUILD_BASENAME=skirmish -c -o skirmish.o skirmish.c > rm -f fusion.o > ld -m elf_i386 -r -o fusion.o fifo.o fusiondev.o fusionee.o list.o property.o > reactor.o ref.o skirmish.o > make[1]: Leaving directory > `/usr/src/directfb/linux-fusion/linux/drivers/char/fusion' > make: Leaving directory `/usr/src/linux-2.4.19-16mdk1vsyncfusion' > > And just for reference: > > $ uname -r > 2.4.19-16mdk1vsyncfusion > $ ls -l /lib/modules/`uname -r`/ > total 483 > lrwxrwxrwx 1 root root 40 Feb 19 23:25 build -> > /usr/src/linux-2.4.19-16mdk1vsyncfusion/ > drwxr-xr-x 8 root root 1024 Nov 27 18:20 kernel/ > -rw-r--r-- 1 root root 182586 Jan 11 22:30 modules.dep > -rw-r--r-- 1 root root 31909 Nov 27 18:21 modules.description > -rw-r--r-- 1 root root 53227 Jan 11 22:30 modules.generic_string > -rw-r--r-- 1 root root 147 Jan 11 22:30 modules.ieee1394map > -rw-r--r-- 1 root root 21259 Jan 11 22:30 modules.isapnpmap > -rw-r--r-- 1 root root 29 Jan 11 22:30 modules.parportmap > -rw-r--r-- 1 root root 83595 Jan 11 22:30 modules.pcimap > -rw-r--r-- 1 root root 24 Jan 11 22:30 modules.pnpbiosmap > -rw-r--r-- 1 root root 109041 Jan 11 22:30 modules.usbmap > > I wonder if this could somehow be integrated with the Makefile. Or > perhaps a simple "Makefile.standalone" could be made.
I added a Makefile in "linux-fusion". Simply use "make" or "make KERNEL_SOURCE=...". -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
