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 --- nor-utils/Makemodule.am | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nor-utils/Makemodule.am (limited to 'nor-utils/Makemodule.am') diff --git a/nor-utils/Makemodule.am b/nor-utils/Makemodule.am new file mode 100644 index 0000000..a5a0d4d --- /dev/null +++ b/nor-utils/Makemodule.am @@ -0,0 +1,10 @@ +rfddump_SOURCES = nor-utils/rfddump.c +rfddump_LDADD = libmtd.a + +rfdformat_SOURCES = nor-utils/rfdformat.c +rfdformat_LDADD = libmtd.a + +NOR_BINS = \ + rfddump rfdformat + +sbin_PROGRAMS += $(NOR_BINS) -- cgit v1.2.3