]> git.proxmox.com Git - mirror_spl.git/commit - README.markdown
Add script for builtin module building.
authorEtienne Dechamps <etienne.dechamps@ovh.net>
Mon, 9 Jul 2012 09:10:31 +0000 (11:10 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Jul 2012 22:13:09 +0000 (15:13 -0700)
commitc167aadb27d51b7be9ee7bd582e2795061a68480
tree9908bf3d1f0158e9d3fe505facbced5f0104996f
parent723aa3b0c2eed070f7eeadd2ce2d87f46da6d0f8
Add script for builtin module building.

This commit introduces a "copy-builtin" script designed to prepare a
kernel source tree for building SPL as a builtin module. The script
makes a full copy of all needed files, thus making the kernel source
tree fully independent of the spl source package.

To achieve that, some compilation flags (-include, -I) have been moved
to module/Makefile. This Makefile is only used when compiling external
modules; when compiling builtin modules, a Kbuild file generated by the
configure-builtin script is used instead. This makes sure Makefiles
inside the kernel source tree does not contain references to the spl
source package.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#851
README.markdown
copy-builtin [new file with mode: 0755]
module/Makefile.in
module/spl/Makefile.in
module/splat/Makefile.in