diff options
author | Brian Behlendorf <[email protected]> | 2008-12-11 14:16:55 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2008-12-11 14:16:55 -0800 |
commit | c4911ece249bad4329e1ed6a9de6fba51bd06f1f (patch) | |
tree | e95d50afecee864a4915dc9452028cc2d62df996 /scripts | |
parent | b453b61272db34cd097f8636f57033785b00d932 (diff) |
Move library files to lib
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-zfs.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/update-zfs.sh b/scripts/update-zfs.sh index 318f45f39..1329e641a 100755 --- a/scripts/update-zfs.sh +++ b/scripts/update-zfs.sh @@ -63,13 +63,9 @@ cp ${SRC_CM}/avl/avl.c ${DST_MOD}/avl/ cp ${SRC_UCM}/sys/avl.h ${DST_MOD}/avl/include/sys/ cp ${SRC_UCM}/sys/avl_impl.h ${DST_MOD}/avl/include/sys/ -echo "* module/nvpair + lib/libnvpair" +echo "* module/nvpair" mkdir -p ${DST_MOD}/nvpair/include/sys/ cp ${SRC_CM}/nvpair/nvpair.c ${DST_MOD}/nvpair/ -cp ${SRC_LIB}/libnvpair/libnvpair.c ${DST_MOD}/nvpair/ -cp ${SRC_UCM}/os/nvpair_alloc_system.c ${DST_MOD}/nvpair/ -cp ${SRC_CM}/nvpair/nvpair_alloc_fixed.c ${DST_MOD}/nvpair/ -cp ${SRC_LIB}/libnvpair/libnvpair.h ${DST_MOD}/nvpair/include/ cp ${SRC_UCM}/sys/nvpair.h ${DST_MOD}/nvpair/include/sys/ cp ${SRC_UCM}/sys/nvpair_impl.h ${DST_MOD}/nvpair/include/sys/ @@ -100,6 +96,12 @@ cp ${SRC_UCM}/os/list.c ${DST_LIB}/libspl/ cp ${SRC_UCM}/sys/list.h ${DST_LIB}/libspl/include/sys/ cp ${SRC_UCM}/sys/list_impl.h ${DST_LIB}/libspl/include/sys/ +echo "* lib/libnvpair" +mkdir -p ${DST_LIB}/libnvpair/include/ +cp ${SRC_UCM}/os/nvpair_alloc_system.c ${DST_LIB}/libnvpair/ +cp ${SRC_LIB}/libnvpair/libnvpair.c ${DST_LIB}/libnvpair/ +cp ${SRC_LIB}/libnvpair/libnvpair.h ${DST_LIB}/libnvpair/include/ + echo "* lib/libuutil" mkdir -p ${DST_LIB}/libuutil/include/ cp ${SRC_LIB}/libuutil/common/*.c ${DST_LIB}/libuutil/ |