summaryrefslogtreecommitdiffstats
path: root/scripts/update-zfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-zfs.sh')
-rwxr-xr-xscripts/update-zfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-zfs.sh b/scripts/update-zfs.sh
index f833a4cbe..057dcc40b 100755
--- a/scripts/update-zfs.sh
+++ b/scripts/update-zfs.sh
@@ -86,7 +86,6 @@ cp ${SRC_LIB}/libuutil/common/*.h ${DST_LIB}/libuutil/include/
echo "* zfs/lib/libspl"
mkdir -p ${DST_LIB}/libspl/include/sys/
-cp ${SRC_LIB}/libzpool/common/kernel.c ${DST_LIB}/libspl/
cp ${SRC_LIB}/libzpool/common/taskq.c ${DST_LIB}/libspl/
cp ${SRC_LIB}/libzpool/common/util.c ${DST_LIB}/libspl/
cp ${SRC_LIB}/libzpool/common/sys/zfs_context.h ${DST_LIB}/libspl/include/sys/
@@ -110,6 +109,7 @@ cp ${SRC_UCM}/sys/fm/fs/zfs.h ${DST_LIB}/libzcommon/include/sys/fm/fs/
echo "* zfs/lib/libzpool"
mkdir -p ${DST_LIB}/libzpool/include/sys/
+cp ${SRC_LIB}/libzpool/common/kernel.c ${DST_LIB}/libzpool/
cp ${SRC_ZLIB}/*.c ${DST_LIB}/libzpool/
cp ${SRC_UTS}/intel/zfs/spa_boot.c ${DST_LIB}/libzpool/
cp ${SRC_ZLIB}/sys/*.h ${DST_LIB}/libzpool/include/sys/