From d39ea7019cb204420c53a203ff9ccbb4cab0d4b3 Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Tue, 26 Apr 2016 22:09:08 +0200 Subject: 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 Signed-off-by: Richard Weinberger --- nand-utils/Makemodule.am | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 nand-utils/Makemodule.am (limited to 'nand-utils') diff --git a/nand-utils/Makemodule.am b/nand-utils/Makemodule.am new file mode 100644 index 0000000..1d3a2b3 --- /dev/null +++ b/nand-utils/Makemodule.am @@ -0,0 +1,24 @@ +nanddump_SOURCES = nand-utils/nanddump.c +nanddump_LDADD = libmtd.a + +nandwrite_SOURCES = nand-utils/nandwrite.c +nandwrite_LDADD = libmtd.a + +nandtest_SOURCES = nand-utils/nandtest.c +nandtest_LDADD = libmtd.a + +nftldump_SOURCES = nand-utils/nftldump.c +nftldump_LDADD = libmtd.a + +nftl_format_SOURCES = nand-utils/nftl_format.c +nftl_format_LDADD = libmtd.a + +NAND_BINS = \ + nanddump nandwrite nandtest nftldump nftl_format + +NAND_SH = \ + nand-utils/load_nandsim.sh + +EXTRA_DIST += $(NAND_SH) + +sbin_PROGRAMS += $(NAND_BINS) -- cgit v1.2.3