diff options
Diffstat (limited to 'arch/sparc/Makefile')
-rw-r--r-- | arch/sparc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index dfe272d14465..113225b241e0 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile | |||
@@ -27,6 +27,7 @@ AS := $(AS) -32 | |||
27 | LDFLAGS := -m elf32_sparc | 27 | LDFLAGS := -m elf32_sparc |
28 | CHECKFLAGS += -D__sparc__ | 28 | CHECKFLAGS += -D__sparc__ |
29 | export BITS := 32 | 29 | export BITS := 32 |
30 | UTS_MACHINE := sparc | ||
30 | 31 | ||
31 | #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 | 32 | #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 |
32 | KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 | 33 | KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 |
@@ -46,6 +47,7 @@ CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 | |||
46 | 47 | ||
47 | LDFLAGS := -m elf64_sparc | 48 | LDFLAGS := -m elf64_sparc |
48 | export BITS := 64 | 49 | export BITS := 64 |
50 | UTS_MACHINE := sparc64 | ||
49 | 51 | ||
50 | KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \ | 52 | KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \ |
51 | -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare \ | 53 | -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare \ |