aboutsummaryrefslogtreecommitdiff
path: root/misc-utils
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-10-19 11:40:56 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-01-20 11:53:58 +0100
commita888044525d9f03290cc1afe62dcfa3bec4bc0b9 (patch)
tree0e2736817cc6a0bb9a41a453bb2bde3eb04551ea /misc-utils
parentc41808cdc3a2c3c8ca5f73707745f48aae49e17e (diff)
Cleanup: Automake: remove single use variables
Throughout the Automake files, there is a consistent pattern somewhat like this: FOO_BINS = .... sbin_PROGRAMS += $(FOO_BINS) This commit all such patterns whenever the variable is not used anywhere else and appends to the target directly. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/Makemodule.am15
1 files changed, 4 insertions, 11 deletions
diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am
index 50703b6..b15c119 100644
--- a/misc-utils/Makemodule.am
+++ b/misc-utils/Makemodule.am
@@ -39,7 +39,7 @@ flashcp_SOURCES = misc-utils/flashcp.c
flash_erase_SOURCES = misc-utils/flash_erase.c
flash_erase_LDADD = libmtd.a
-MISC_BINS = \
+sbin_PROGRAMS += \
ftl_format doc_loadbios ftl_check mtd_debug docfdisk \
serve_image recv_image fectest flash_erase flash_lock \
flash_unlock flash_otp_info flash_otp_dump flash_otp_lock \
@@ -48,22 +48,15 @@ MISC_BINS = \
MISC_SH = \
misc-utils/flash_eraseall
-MISC_EXTRA = \
- misc-utils/MAKEDEV
-
-MISC_MAN =
-
if BUILD_LSMTD
lsmtd_SOURCES = misc-utils/lsmtd.c misc-utils/lsmtd_scan.c misc-utils/lsmtd.h
lsmtd_LDADD = libmtd.a libubi.a
lsmtd_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/misc-utils
-MISC_BINS += lsmtd
-MISC_MAN += misc-utils/lsmtd.8
+sbin_PROGRAMS += lsmtd
+dist_man8_MANS += misc-utils/lsmtd.8
endif
-EXTRA_DIST += $(MISC_EXTRA) $(MISC_SH)
+EXTRA_DIST += misc-utils/MAKEDEV $(MISC_SH)
-dist_man8_MANS += $(MISC_MAN)
-sbin_PROGRAMS += $(MISC_BINS)
sbin_SCRIPTS += $(MISC_SH)