btrfs-progs: move btrfs-convert to own directory

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-11-28 14:35:53 +01:00
parent 8c03c648be
commit dee762489e
2 changed files with 11 additions and 0 deletions

View File

@ -401,6 +401,16 @@ btrfs-image.static: $(static_objects) image/main.static.o $(static_libbtrfs_obje
$(Q)$(CC) $(STATIC_CFLAGS) -o $@ image/main.static.o $(static_objects) \ $(Q)$(CC) $(STATIC_CFLAGS) -o $@ image/main.static.o $(static_objects) \
$(static_libbtrfs_objects) $(STATIC_LDFLAGS) $(STATIC_LIBS) $(static_libbtrfs_objects) $(STATIC_LDFLAGS) $(STATIC_LIBS)
btrfs-convert: $(objects) $(libs_static) convert/main.o
@echo " [LD] $@"
$(Q)$(CC) $(CFLAGS) -I$(TOPDIR)/convert -o btrfs-convert $(objects) convert/main.o $(libs_static) \
$(LDFLAGS) $(btrfs_convert_libs) $(LIBS)
btrfs-convert.static: $(static_objects) convert/main.static.o $(static_libbtrfs_objects)
@echo " [LD] $@"
$(Q)$(CC) $(STATIC_CFLAGS) -o $@ convert/main.static.o $(static_objects) \
$(static_libbtrfs_objects) $(STATIC_LDFLAGS) $(btrfs_convert_libs) $(STATIC_LIBS)
dir-test: $(objects) $(libs) dir-test.o dir-test: $(objects) $(libs) dir-test.o
@echo " [LD] $@" @echo " [LD] $@"
$(Q)$(CC) $(CFLAGS) -o dir-test $(objects) $(libs) dir-test.o $(LDFLAGS) $(LIBS) $(Q)$(CC) $(CFLAGS) -o dir-test $(objects) $(libs) dir-test.o $(LDFLAGS) $(LIBS)
@ -482,6 +492,7 @@ clean: $(CLEANDIRS)
$(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 \ kernel-lib/*.o kernel-lib/*.o.d \
image/*.o image/*.o.d \ image/*.o image/*.o.d \
convert/*.o convert/*.o.d \
dir-test ioctl-test quick-test library-test library-test-static \ dir-test ioctl-test quick-test library-test library-test-static \
btrfs.static mkfs.btrfs.static \ btrfs.static mkfs.btrfs.static \
$(check_defs) \ $(check_defs) \