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:07 +0900 |
commit | ac12ceecf15f637e024e6be9a030497e732a74eb (patch) | |
tree | 975f7c96dae6856254528ba18188780f6a10568e /kexec/arch/ppc/kexec-elf-ppc.c | |
parent | f5d08e9fa6464c876ab00c03fadc09a64edb5bb5 (diff) |
Add gamecube to config.h defines
.. instead of messing with CFLAGS.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc/kexec-elf-ppc.c')
-rw-r--r-- | kexec/arch/ppc/kexec-elf-ppc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c index 241c803..571349d 100644 --- a/kexec/arch/ppc/kexec-elf-ppc.c +++ b/kexec/arch/ppc/kexec-elf-ppc.c @@ -25,6 +25,8 @@ #include "kexec-ppc.h" #include <arch/options.h> +#include "config.h" + static const int probe_debug = 0; #define MAX_COMMAND_LINE 256 @@ -135,7 +137,7 @@ int elf_ppc_load(int argc, char **argv, const char *buf, off_t len, unsigned char *setup_start; uint32_t setup_size; int result; -#ifdef CONFIG_GAMECUBE +#ifdef WITH_GAMECUBE int target_is_gamecube = 1; #else int target_is_gamecube = 0; |