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/rfdformat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nor-utils/rfdformat.c') diff --git a/nor-utils/rfdformat.c b/nor-utils/rfdformat.c index 17d9d2d..a8a44a9 100644 --- a/nor-utils/rfdformat.c +++ b/nor-utils/rfdformat.c @@ -13,7 +13,7 @@ */ #define PROGRAM_NAME "rfdformat" -#define VERSION "$Revision 1.0 $" +#define PROGRAM_VERSION "$Revision 1.0 $" #define _XOPEN_SOURCE 500 /* For pread/pwrite */ @@ -42,7 +42,7 @@ void display_help(void) void display_version(void) { - printf("%s " VERSION "\n" + printf("%s " PROGRAM_VERSION "\n" "\n" "This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n", -- cgit v1.2.3