From 9a98589f00f8e8def668f9e3f76a0d44e525cff7 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 14 Mar 2017 18:53:29 +0100 Subject: btrfs-progs: tests: add fssum utility Copy from fstests, originally from git://git.kernel.org/pub/scm/linux/kernel/git/arne/far-progs.git Needs libcrypto to link but this check is now missing in configure. Signed-off-by: Jan Schmidt Signed-off-by: David Sterba --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b6a49e0b..2e25f6cc 100644 --- a/Makefile +++ b/Makefile @@ -466,6 +466,11 @@ library-test.static: library-test.c messages.static.o $(libs_static) @echo " [TEST CLEAN] $@" $(Q)$(RM) -rf -- $(TMPD) +fssum: tests/fssum.c + @echo " [LD] $@" + # FIXME: no configure-time check for libcrypto from SSL + $(Q)$(CC) $(CFLAGS) -o $@ $< -D__LINUX__ $(LDFLAGS) -lcrypto + test-build: test-build-pre test-build-real test-build-pre: @@ -502,7 +507,7 @@ clean: $(CLEANDIRS) convert/*.o convert/*.o.d \ mkfs/*.o mkfs/*.o.d \ dir-test ioctl-test quick-test library-test library-test-static \ - btrfs.static mkfs.btrfs.static \ + btrfs.static mkfs.btrfs.static fssum \ $(check_defs) \ $(libs) $(lib_links) \ $(progs_static) $(progs_extra) -- cgit v1.2.3