diff mbox series

fstests: install btrfs_crc32c_forged_name.py

Message ID 20210707050141.1817531-1-naohiro.aota@wdc.com (mailing list archive)
State New, archived
Headers show
Series fstests: install btrfs_crc32c_forged_name.py | expand

Commit Message

Naohiro Aota July 7, 2021, 5:01 a.m. UTC
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>
---
 src/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/Makefile b/src/Makefile
index 5c76aa93db5c..884bd86a03f2 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: