]> git.proxmox.com Git - mirror_spl.git/commit - config/spl-build.m4
Make configure builtin-aware.
authorEtienne Dechamps <etienne.dechamps@ovh.net>
Mon, 16 Jul 2012 14:34:43 +0000 (16:34 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Jul 2012 21:55:20 +0000 (14:55 -0700)
commit0408008b33049dde7e1ec16af7806d2e57bab064
tree92a446e101bc796b10776a2c0d20c30e9884fd6a
parent38b5ff4d07146ad2359018c3f4707125d38c421f
Make configure builtin-aware.

This patch adds a new option to configure: --enable-linux-builtin. When
this option is used, the following happens:

 - Compilation of kernel modules is disabled.

 - A failure to find UTS_RELEASE is followed by a suggestion to run
   "make prepare" on the kernel source tree.

This patch also adds a new test which tries to compile an empty module
as a basic toolchain sanity test. If it fails and the option was
specified, the error is followed by a suggestion to run "make scripts"
on the kernel source tree.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#851
config/spl-build.m4
configure