diff options
author | Richard Weinberger <richard@nod.at> | 2016-04-26 22:09:08 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-11-17 11:36:55 +0100 |
commit | d39ea7019cb204420c53a203ff9ccbb4cab0d4b3 (patch) | |
tree | 313257adc2b8242c298d060ea29a256fa7394011 /misc-utils/Makemodule.am | |
parent | f600c700fcc7e703698c1a1164f14ad8d42479b1 (diff) |
Change build system to autotools
This patch is largely based on Richards original RFC.
The major differences to the RFC patch are:
- Add missing sumtools & mtdpart targets
- Fix name of mkfs.jffs2 target
- Add missing subdir-objects option for non-recursive make
- Move all automake options to configure.ac
- Add manpages to install target
- Make XATTR & LZO support configurable
- Install binaries to sbin directory like in the old build system
- Install flash_erase wrapper script
- Add files missing from distribution target
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'misc-utils/Makemodule.am')
-rw-r--r-- | misc-utils/Makemodule.am | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/misc-utils/Makemodule.am b/misc-utils/Makemodule.am new file mode 100644 index 0000000..ce1c385 --- /dev/null +++ b/misc-utils/Makemodule.am @@ -0,0 +1,54 @@ +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 + +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 + +MISC_SH = \ + misc-utils/flash_eraseall + +MISC_EXTRA = \ + misc-utils/MAKEDEV + +MISC_HEADER = \ + misc-utils/mcast_image.h + +EXTRA_DIST += $(MISC_HEADER) $(MISC_EXTRA) $(MISC_SH) + +sbin_PROGRAMS += $(MISC_BINS) +sbin_SCRIPTS += $(MISC_SH) |