Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 22:19:27 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Sean McNeil <sean@mcneil.com>, Andre Oppermann <andre@freebsd.org>, freebsd-current@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: kernel module options (was ipfw2 broken)
Message-ID:  <20040819191927.GI44480@ip.net.ua>
In-Reply-To: <20040819180840.GV99980@funkthat.com>
References:  <1092881027.999.3.camel@server.mcneil.com> <412497B5.6040203@freebsd.org> <4124D1D4.5080307@samsco.org> <200408191251.32319.jhb@FreeBSD.org> <4124E1DA.B5341C04@freebsd.org> <1092938019.79038.4.camel@server.mcneil.com> <20040819180840.GV99980@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--jQIvE3yXcK9X9HBh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 19, 2004 at 11:08:40AM -0700, John-Mark Gurney wrote:
> Sean McNeil wrote this message on Thu, Aug 19, 2004 at 10:53 -0700:
> > On Thu, 2004-08-19 at 10:22, Andre Oppermann wrote:
> > > IPDIVERT wasn't compiled into the module before.  It's surrounded by
> > > #if !defined(KLD_MODULE).  However if the kernel was compiled with op=
tion
> > > IPDIVERT but w/o IPFIREWALL is was working anyway.
> >=20
> > Has this changed?  From what I saw yesterday no option in my config file
> > could possibly effect the compilation of the ipfw2 module.  The only way
> > I could see doing it was to modify the Makefile for the module.  yuk.
> >=20
> > I would like to see a general mechanism supported to turn on various
> > options within a module build.  Would it be possible to fix module
> > building to honor options from the config?
>=20
> I had a set of changes a while back that would link all of the opt_*.h
> files in the various module's dirs back to the ones in the main kernel
> compile assuming that there wasn't a specific rule in the Makefile to
> build that file.  I.e. 99% of the opt_*.h rules could be eliminated.
>=20
> This solution was decided to be inadaquate, and was not accepted, but
> I again propose it.  It quick and easy.
>=20
And how the standalone module could be built if you eliminated 99% of
opt_*.h rules from module makefiles?


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--jQIvE3yXcK9X9HBh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBJP0/qRfpzJluFF4RArs/AJ4hLHDhGxzQScfXblf33K9ZCZzM8ACfccw5
tqD8Q0c2u5Fpql4U3If0Ds0=
=XVRM
-----END PGP SIGNATURE-----

--jQIvE3yXcK9X9HBh--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819191927.GI44480>