Re: Building additional kernel drivers with Debian kernel-source
> The kernel-build-* packages are probably what you want. They're
> specifically meant for building external modules for the stock debian
> kernels. You'll also need to install the corresponding kernel-headers-*,
> but you have that, I think. Be sure to read the README.Debian file.
>From the description kernel-build should but I still get
rm -f linux/drivers/char/fusion/Makefile
ln -s Makefile-2.4 linux/drivers/char/fusion/Makefile
make -C /lib/modules/2.4.26-1-k7/build \
make: Entering directory `/usr/src/kernel-headers-2.4.26-1-k7'
make: Leaving directory `/usr/src/kernel-headers-2.4.26-1-k7'
make: *** No rule to make target `modules'. Stop.
make: *** [all] Error 2
To make sure I've clean system I first removed any kernel-xxx Package
(except kernel-image of course) and then installed kernel-build hoping
all the dependences work => the same result.
How to enhance your code, see "http://freshmeat.net/projects/wxguide/"