diff options
author | Etienne Dechamps <[email protected]> | 2012-07-09 11:10:31 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-07-26 15:13:09 -0700 |
commit | c167aadb27d51b7be9ee7bd582e2795061a68480 (patch) | |
tree | 9908bf3d1f0158e9d3fe505facbced5f0104996f /scripts | |
parent | 723aa3b0c2eed070f7eeadd2ce2d87f46da6d0f8 (diff) |
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 <[email protected]>
Issue zfsonlinux/zfs#851
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions