2009/12/8 Jan Engelhardt <jengelh@xxxxxxxxxx>: > On Thursday 2009-12-03 11:54, Wiktor Kolodziej wrote: > >>Is there any easy way to compile extensions into a non-modular kernel? > > Depends on the definition of easy. > >>I've found in Jan's "An Introduction to Xtables-addons" that this is >>possible, but can you please give me some more info how to do it? >>What do you mean by "editing some kernel Makefile to descend into >>xtables-addons/extensions" ? > > ln -s ~/xtables-addons ~/linux/net/netfilter/ > echo "obj-y += xtables-addons/extensions/" > >>~/linux/net/netfilter/Makefile > > Granted it does not stop there, one needs to modify extensions/Kbuild > because it depends on symbols from mconfig (oh my) which would need to > be exchanged to obj-y or something. Thanks for helping with that. I've created a script that does it automatically. I'm attaching it if somebody needs to quickly build a non-modular kernel with xtables-addons. Wiktor.
Attachment:
xtables.sh
Description: Bourne shell script