diff options
author | Matthew Macy <[email protected]> | 2019-09-06 11:26:26 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-06 11:26:26 -0700 |
commit | bced7e3aaa3cf54d5e8e4f94e067144b27cb744b (patch) | |
tree | 729dac6996f4f11b88bc3a831b2b8d6852e6fbb6 /copy-builtin | |
parent | 870e7a52c105f26ef4254b90230d396f4ce39ea7 (diff) |
OpenZFS restructuring - move platform specific sources
Move platform specific Linux source under module/os/linux/
and update the build system accordingly. Additional code
restructuring will follow to make the common code fully
portable.
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matthew Macy <[email protected]>
Closes #9206
Diffstat (limited to 'copy-builtin')
-rwxr-xr-x | copy-builtin | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/copy-builtin b/copy-builtin index adb3bd544..c108cfc67 100755 --- a/copy-builtin +++ b/copy-builtin @@ -12,12 +12,11 @@ usage() KERNEL_DIR="$(readlink --canonicalize-existing "$1")" MODULES=() -MODULES+="spl" -for MODULE_DIR in module/* +for MODULE_DIR in module/* module/os/linux/* do [ -d "$MODULE_DIR" ] || continue - [ "spl" = "${MODULE_DIR##*/}" ] && continue - MODULES+=("${MODULE_DIR##*/}") + [ "os" = "${MODULE_DIR#*/}" ] && continue + MODULES+=("${MODULE_DIR#*/}") done if ! [ -e 'zfs_config.h' ] |