diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:06 +0900 |
commit | f5d08e9fa6464c876ab00c03fadc09a64edb5bb5 (patch) | |
tree | f0265be55c7d40723e2868f2540262bc5078330f /kexec/kexec.h | |
parent | 0151e38f0d87528c8856fcb0b4d53ed547c139b0 (diff) |
Use config.h for defines
Instead of putting a heap of -D directives in CPPFLAGS, use a config.h
header.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r-- | kexec/kexec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h index 2ee48c4..2384c53 100644 --- a/kexec/kexec.h +++ b/kexec/kexec.h @@ -1,6 +1,8 @@ #ifndef KEXEC_H #define KEXEC_H +#include "config.h" + #include <sys/types.h> #include <stdint.h> #define USE_BSD @@ -197,7 +199,7 @@ extern unsigned char purgatory[]; extern size_t purgatory_size; #define BOOTLOADER "kexec" -#define BOOTLOADER_VERSION VERSION +#define BOOTLOADER_VERSION PACKAGE_VERSION void arch_usage(void); int arch_process_options(int argc, char **argv); |