diff options
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index f33c3817f014..fef28e267a52 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile | |||
@@ -8,16 +8,16 @@ | |||
8 | # | 8 | # |
9 | 9 | ||
10 | # | 10 | # |
11 | # Uncomment the first CFLAGS if you are doing kgdb source level | 11 | # Uncomment the first KBUILD_CFLAGS if you are doing kgdb source level |
12 | # debugging of the kernel to get the proper debugging information. | 12 | # debugging of the kernel to get the proper debugging information. |
13 | 13 | ||
14 | AS := $(AS) -32 | 14 | AS := $(AS) -32 |
15 | LDFLAGS := -m elf32_sparc | 15 | LDFLAGS := -m elf32_sparc |
16 | CHECKFLAGS += -D__sparc__ | 16 | CHECKFLAGS += -D__sparc__ |
17 | 17 | ||
18 | #CFLAGS := $(CFLAGS) -g -pipe -fcall-used-g5 -fcall-used-g7 | 18 | #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 |
19 | CFLAGS := $(CFLAGS) -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 | 19 | KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 |
20 | AFLAGS := $(AFLAGS) -m32 | 20 | KBUILD_AFLAGS += -m32 |
21 | 21 | ||
22 | #LDFLAGS_vmlinux = -N -Ttext 0xf0004000 | 22 | #LDFLAGS_vmlinux = -N -Ttext 0xf0004000 |
23 | # Since 2.5.40, the first stage is left not btfix-ed. | 23 | # Since 2.5.40, the first stage is left not btfix-ed. |