#!/bin/sh # #failed compile attempts : #gcc -m32 -c -O2 -nostdinc -D__KERNEL__ -DMODULE -isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default wintv-ci.c #ld -r -m elf_i386 wintv-ci.o -o wintv-ci.ko modprobe -r wintv-ci make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD modules cp wintv-ci.ko /lib/modules/`uname -r`/extra depmod modprobe -v wintv-ci