btrfs-progs: move 3rd party kernel library modules to own directory

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-09-23 16:09:33 +02:00
parent 605ed50b8c
commit 1200be31e6
12 changed files with 9 additions and 5 deletions

View File

@ -61,6 +61,7 @@ CFLAGS = @CFLAGS@ \
-fno-strict-aliasing \ -fno-strict-aliasing \
-fPIC \ -fPIC \
-I$(TOPDIR) \ -I$(TOPDIR) \
-I$(TOPDIR)/kernel-lib \
$(EXTRAWARN_CFLAGS) \ $(EXTRAWARN_CFLAGS) \
$(DEBUG_CFLAGS_INTERNAL) \ $(DEBUG_CFLAGS_INTERNAL) \
$(EXTRA_CFLAGS) $(EXTRA_CFLAGS)
@ -86,10 +87,10 @@ CHECKER_FLAGS := -include $(check_defs) -D__CHECKER__ \
-D__CHECK_ENDIAN__ -Wbitwise -Wuninitialized -Wshadow -Wundef \ -D__CHECK_ENDIAN__ -Wbitwise -Wuninitialized -Wshadow -Wundef \
-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE
objects = ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ objects = ctree.o disk-io.o kernel-lib/radix-tree.o extent-tree.o print-tree.o \
root-tree.o dir-item.o file-item.o inode-item.o inode-map.o \ root-tree.o dir-item.o file-item.o inode-item.o inode-map.o \
extent-cache.o extent_io.o volumes.o utils.o repair.o \ extent-cache.o extent_io.o volumes.o utils.o repair.o \
qgroup.o raid6.o free-space-cache.o list_sort.o props.o \ qgroup.o raid6.o free-space-cache.o kernel-lib/list_sort.o props.o \
ulist.o qgroup-verify.o backref.o string-table.o task-utils.o \ ulist.o qgroup-verify.o backref.o string-table.o task-utils.o \
inode.o file.o find-root.o free-space-tree.o help.o inode.o file.o find-root.o free-space-tree.o help.o
cmds_objects = cmds-subvolume.o cmds-filesystem.o cmds-device.o cmds-scrub.o \ cmds_objects = cmds-subvolume.o cmds-filesystem.o cmds-device.o cmds-scrub.o \
@ -98,10 +99,12 @@ cmds_objects = cmds-subvolume.o cmds-filesystem.o cmds-device.o cmds-scrub.o \
cmds-restore.o cmds-rescue.o chunk-recover.o super-recover.o \ cmds-restore.o cmds-rescue.o chunk-recover.o super-recover.o \
cmds-property.o cmds-fi-usage.o cmds-inspect-dump-tree.o \ cmds-property.o cmds-fi-usage.o cmds-inspect-dump-tree.o \
cmds-inspect-dump-super.o cmds-inspect-tree-stats.o cmds-fi-du.o cmds-inspect-dump-super.o cmds-inspect-tree-stats.o cmds-fi-du.o
libbtrfs_objects = send-stream.o send-utils.o rbtree.o btrfs-list.o crc32c.o \ libbtrfs_objects = send-stream.o send-utils.o kernel-lib/rbtree.o btrfs-list.o \
kernel-lib/crc32c.o \
uuid-tree.o utils-lib.o rbtree-utils.o uuid-tree.o utils-lib.o rbtree-utils.o
libbtrfs_headers = send-stream.h send-utils.h send.h rbtree.h btrfs-list.h \ libbtrfs_headers = send-stream.h send-utils.h send.h kernel-lib/rbtree.h btrfs-list.h \
crc32c.h list.h kerncompat.h radix-tree.h extent-cache.h \ kernel-lib/crc32c.h kernel-lib/list.h kerncompat.h \
kernel-lib/radix-tree.h extent-cache.h \
extent_io.h ioctl.h ctree.h btrfsck.h version.h extent_io.h ioctl.h ctree.h btrfsck.h version.h
TESTS = fsck-tests.sh convert-tests.sh TESTS = fsck-tests.sh convert-tests.sh
@ -422,6 +425,7 @@ clean-all: clean clean-doc clean-gen
clean: $(CLEANDIRS) clean: $(CLEANDIRS)
@echo "Cleaning" @echo "Cleaning"
$(Q)$(RM) -f $(progs) cscope.out *.o *.o.d \ $(Q)$(RM) -f $(progs) cscope.out *.o *.o.d \
kernel-lib/*.o kernel-lib/*.o.d \
dir-test ioctl-test quick-test send-test library-test library-test-static \ dir-test ioctl-test quick-test send-test library-test library-test-static \
btrfs.static mkfs.btrfs.static \ btrfs.static mkfs.btrfs.static \
$(check_defs) \ $(check_defs) \