[Openswan dev] KLIPS module compilation with non-default options

Michael Richardson mcr at sandelman.ottawa.on.ca
Fri May 22 11:53:16 EDT 2009


>>>>> "Paul" == Paul Wouters <paul at xelerance.com> writes:
    >> This is used in module generation, and isn't the only file
    >> available.  There are alternatives in other subdirs of packaging/

    >> Because there are multiple ways to build the code: 1) patched
    >> into kernel tree.  2) against a /usr/src/linux 3) via RPM or
    >> other packaging system.

    Paul> So am I right that one should be able to not edit
    Paul> linux/net/ipsec/defconfig or packaging/linus/config-all.h, and
    Paul> do:

    Paul> cd openswan-2.x.y cp packaging/linus/config-all.h myconf.h
    Paul> [edit myconf.h] export KERNELSRC=/usr/src/kernels/linux-a.y.z/
    Paul> make MODULE_DEF_INCLUDE=/path/to/openswan-2.x.y/myconf.h
    Paul> module

  Yes, that's the intention.

-- 
]     Y'avait une poule de jammé dans l'muffler!!!!!!!!!        |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr at sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
]    h("Just another Debian GNU/Linux using, kernel hacking,    ruby  guy");  [


More information about the Dev mailing list