From f5d08e9fa6464c876ab00c03fadc09a64edb5bb5 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 13 Dec 2007 16:18:53 +0900 Subject: 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 Signed-off-by: Simon Horman --- kexec_test/kexec_test.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kexec_test') diff --git a/kexec_test/kexec_test.S b/kexec_test/kexec_test.S index 5106c5c..ad081bc 100644 --- a/kexec_test/kexec_test.S +++ b/kexec_test/kexec_test.S @@ -17,6 +17,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "config.h" + .equ PROT_CODE_SEG, pmcs - gdt .equ REAL_CODE_SEG, rmcs - gdt .equ PROT_DATA_SEG, pmds - gdt @@ -419,7 +421,7 @@ gdt_end: s_hello: .ascii "kexec_test " - .ascii VERSION + .ascii PACKAGE_VERSION .asciz " starting...\r\n" s_switching_descriptors: .asciz "Switching descriptors.\r\n" -- cgit