Re: Building loop-aes with seperate Object-Directory

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

 



Matthias Schniedermeyer wrote:
> 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.

Looks like the reason why it currently does not build without USE_KBUILD=y
is because one include directory is missing from compilation commands.

USE_KBUILD=y appears to work ok for recent kernels. But it does not work ok
for older kernels, or in situations where one externally compiled kernel
module depends on another externally compiled module from separate package
(for example, modules from addtional ciphers package). This inter package
dependency used to work ok on 2.4 and older kernels, but 2.6 mainline kernel
build scripts don't get it right yet.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
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