summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2021-07-07 14:01:41 +0900
committerEryu Guan <guaneryu@gmail.com>2021-07-18 20:59:13 +0800
commit99baa0ade4e17be9f7406f6ac640c9690fbe80c6 (patch)
tree6803996c045dab73c1874bfe5752a24614f32bd1 /src/Makefile
parent8ae8a045b54d31e4d3b9f6e003edfe4f045ed692 (diff)
fstests: install btrfs_crc32c_forged_name.py
btrfs/154 uses btrfs_crc32c_forged_name.py but the file is not installed in the PKG_LIB_DIR. Also consolidate install target files into EXTRA_EXECS. Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 5c76aa93..884bd86a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -33,6 +33,9 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \
fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \
detached_mounts_propagation
+EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \
+ btrfs_crc32c_forged_name.py
+
SUBDIRS = log-writes perf
LLDLIBS = $(LIBHANDLE) $(LIBACL) -lpthread -lrt
@@ -100,7 +103,7 @@ LINKTEST = $(LTLINK) $@.c -o $@ $(CFLAGS) $(LDFLAGS)
install: default $(addsuffix -install,$(SUBDIRS))
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/src
$(LTINSTALL) -m 755 $(LDIRT) $(PKG_LIB_DIR)/src
- $(LTINSTALL) -m 755 dmerror fill2attr fill2fs fill2fs_check scaleread.sh $(PKG_LIB_DIR)/src
+ $(LTINSTALL) -m 755 $(EXTRA_EXECS) $(PKG_LIB_DIR)/src
$(LTINSTALL) -m 644 dumpfile $(PKG_LIB_DIR)/src
%-install: