HomeFreeBSD

Make configure builtin-aware.

Description

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

Details

Provenance
Etienne Dechamps <etienne.dechamps@ovh.net>Authored on Jul 16 2012, 2:34 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 26 2012, 9:55 PM
Parents
rG38b5ff4d0714: Fix undefined reference on spl_mutex_spin_max().
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG0408008b3304: Make configure builtin-aware. (authored by Etienne Dechamps <etienne.dechamps@ovh.net>).Jul 26 2012, 9:55 PM