I finally figured it out. I have to write it down anyway, so here it is:
Code:
apt-get source linux-image-2.6.15-27-386
# modify the source files I want to change
mkdir mytree
cp /boot/config-2.6.15-27-386 mytree/.config
cd linux-source-2.6.15-2.6.15
make O=../mytree outputmakefile
make O=../mytree archprepare
make O=../mytree modules SUBDIRS=scripts
make O=../mytree modules SUBDIRS=drivers/char/drm
Although I have the feeling this procedure is not the most correct one. There is some warning about missing versioning. And other SUBDIRS might have to be added for other modules.
Bookmarks