summaryrefslogtreecommitdiff
path: root/misc-utils/Makemodule.am
blob: 5e70f7cd9ff9ecd826dc21330b32066ef7241221 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
ftl_format_SOURCES = misc-utils/ftl_format.c

doc_loadbios_SOURCES = misc-utils/doc_loadbios.c

ftl_check_SOURCES = misc-utils/ftl_check.c

mtd_debug_SOURCES = misc-utils/mtd_debug.c

mtdpart_SOURCES = misc-utils/mtdpart.c

docfdisk_SOURCES = misc-utils/docfdisk.c

serve_image_SOURCES = misc-utils/serve_image.c
serve_image_LDADD = libmtd.a

recv_image_SOURCES = misc-utils/recv_image.c
recv_image_LDADD = libmtd.a

flash_lock_SOURCES = misc-utils/flash_lock.c

flash_unlock_SOURCES = misc-utils/flash_unlock.c

flash_otp_info_SOURCES = misc-utils/flash_otp_info.c

flash_otp_dump_SOURCES = misc-utils/flash_otp_dump.c

flash_otp_lock_SOURCES = misc-utils/flash_otp_lock.c

flash_otp_write_SOURCES = misc-utils/flash_otp_write.c

flashcp_SOURCES = misc-utils/flashcp.c

flash_erase_SOURCES = misc-utils/flash_erase.c
flash_erase_LDADD = libmtd.a

lsmtd_SOURCES = misc-utils/lsmtd.c misc-utils/lsmtd_scan.c
lsmtd_LDADD = libmtd.a libubi.a
lsmtd_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/misc-utils

MISC_BINS = \
	ftl_format doc_loadbios ftl_check mtd_debug docfdisk \
	serve_image recv_image flash_erase flash_lock \
	flash_unlock flash_otp_info flash_otp_dump flash_otp_lock \
	flash_otp_write flashcp mtdpart lsmtd

MISC_SH = \
	misc-utils/flash_eraseall

MISC_EXTRA = \
	misc-utils/MAKEDEV

MISC_HEADER = \
	misc-utils/mcast_image.h \
	misc-utils/lsmtd.h

MISC_MAN = \
	misc-utils/lsmtd.8

EXTRA_DIST += $(MISC_HEADER) $(MISC_EXTRA) $(MISC_SH)

dist_man8_MANS += $(MISC_MAN)
sbin_PROGRAMS += $(MISC_BINS)
sbin_SCRIPTS += $(MISC_SH)