netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [xtables-addons] extensions in a non-modular kernel
@ 2009-12-03 10:54 Wiktor Kolodziej
  2009-12-08  9:59 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Wiktor Kolodziej @ 2009-12-03 10:54 UTC (permalink / raw)
  To: netfilter-devel

Hello,

Is there any easy way to compile extensions into a non-modular kernel?

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" ?

Wiktor

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [xtables-addons] extensions in a non-modular kernel
  2009-12-03 10:54 [xtables-addons] extensions in a non-modular kernel Wiktor Kolodziej
@ 2009-12-08  9:59 ` Jan Engelhardt
  2009-12-19 20:45   ` Wiktor Kolodziej
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2009-12-08  9:59 UTC (permalink / raw)
  To: Wiktor Kolodziej; +Cc: netfilter-devel

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [xtables-addons] extensions in a non-modular kernel
  2009-12-08  9:59 ` Jan Engelhardt
@ 2009-12-19 20:45   ` Wiktor Kolodziej
  0 siblings, 0 replies; 3+ messages in thread
From: Wiktor Kolodziej @ 2009-12-19 20:45 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]

2009/12/8 Jan Engelhardt <jengelh@medozas.de>:
> 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 #2: xtables.sh --]
[-- Type: application/x-sh, Size: 2745 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-19 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 10:54 [xtables-addons] extensions in a non-modular kernel Wiktor Kolodziej
2009-12-08  9:59 ` Jan Engelhardt
2009-12-19 20:45   ` Wiktor Kolodziej

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).