[PATCH] misc-utils: Add fectest to build system

Bastian Germann bastiangermann at fishpost.de
Sat Sep 26 17:18:54 EDT 2020


8f627247f6("mtd-utils: move libmtd source files to lib/ subdirectory")
removed fectest.c from the build system 10 years ago.  Add it again.

Signed-off-by: Bastian Germann <bastiangermann at fishpost.de>
---
 .gitignore               | 1 +
 misc-utils/Makemodule.am | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 488b35c..7feddda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,7 @@
 #
 doc_loadbios
 docfdisk
+fectest
 flash_erase
 flash_lock
 flash_otp_dump
diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am
index 2289252..9a86f6f 100644
--- a/misc-utils/Makemodule.am
+++ b/misc-utils/Makemodule.am
@@ -16,6 +16,9 @@ serve_image_LDADD = libmtd.a
 recv_image_SOURCES = misc-utils/recv_image.c
 recv_image_LDADD = libmtd.a
 
+fectest_SOURCES = misc-utils/fectest.c
+fectest_LDADD = libmtd.a
+
 flash_lock_SOURCES = misc-utils/flash_lock.c
 
 flash_unlock_SOURCES = misc-utils/flash_unlock.c
@@ -35,7 +38,7 @@ flash_erase_LDADD = libmtd.a
 
 MISC_BINS = \
 	ftl_format doc_loadbios ftl_check mtd_debug docfdisk \
-	serve_image recv_image flash_erase flash_lock \
+	serve_image recv_image fectest flash_erase flash_lock \
 	flash_unlock flash_otp_info flash_otp_dump flash_otp_lock \
 	flash_otp_write flashcp mtdpart
 
-- 
2.28.0




More information about the linux-mtd mailing list