mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <lundman@lundman.net>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Macy <mmacy@FreeBSD.org>
Closes #9206
This commit is contained in:
committed by
Brian Behlendorf
parent
870e7a52c1
commit
bced7e3aaa
+3
-4
@@ -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' ]
|
||||
|
||||
Reference in New Issue
Block a user