Building loop-aes with seperate Object-Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi



README (3.1e), Line 262-263:
- snip -
Both LINUX_SOURCE and KBUILD_OUTPUT must be specified when compiling for
2.6.x kernel with separate object directory.
- snip -

At least with 2.6.19 that isn't enough, i had to dig into the Makefile a little and i after i added the following parameter:
USE_KBUILD=y
it worked.


Maybe an example would be better:

make LINUX_SOURCE=<linux_source> KBUILD_OUTPUT=<objdir> USE_KBUILD=y
e.g.
make LINUX_SOURCE=/usr/src/linux-2.6.19 KBUILD_OUTPUT=/usr/src/mykernel USE_KBUILD=y


And when you want to compile a kernel for a different machine, where you "install" the modules into a directory before transferring them over to the other machine, you also have to add the
INSTALL_MOD_PATH-Parameter. e.g.:
INSTALL_MOD_PATH=<objdir>/modules
After that
<objdir>/modules/lib/modules/<version>
contains the modules ready to be transfered, including loop-aes in the <objdir>/modules/lib/modules/<version>/extra subdir (instead of the "block"-subdir with a "regular" build kernel/loop-aes).





-- 
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.


-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux