sparc,sparc64: add BITS to arch Makefile
PATCH 1/1 sparc,sparc64: add BITS to arch Makefile
BITS will be used to simplify unified Makefiles
--- arch/sparc/Makefile | 7 ++++--- arch/sparc64/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)
arch/sparc/Makefile +4 -3
@@ -11,9 +11,10 @@ # Uncomment the first KBUILD_CFLAGS if you are doing kgdb source level # debugging of the kernel to get the proper debugging information. -AS := $(AS) -32 -LDFLAGS := -m elf32_sparc -CHECKFLAGS += -D__sparc__ +AS := $(AS) -32 +LDFLAGS := -m elf32_sparc +CHECKFLAGS += -D__sparc__ +export BITS := 32 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
arch/sparc64/Makefile +2 -2
@@ -12,8 +12,8 @@ CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 # Undefine sparc when processing vmlinux.lds - it is used # And teach CPP we are doing 64 bit builds (for this case) CPPFLAGS_vmlinux.lds += -m64 -Usparc - -LDFLAGS := -m elf64_sparc +LDFLAGS := -m elf64_sparc +export BITS := 64 KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \ -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare \
Signature · 1 line
1.5.6.GIT
Quoted 13 lines · Sam Ravnborg
BITS will be used to simplify unified Makefiles
Signed-off-by Sam Ravnborg <[email protected]>--- arch/sparc/Makefile | 7 ++++--- arch/sparc64/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)arch/sparc/Makefile +0
-0
arch/sparc/Makefile line 16
Quoted 9 lines
arch/sparc/Makefile +3
-3@@ -11,9 +11,10 @@ # Uncomment the first KBUILD_CFLAGS if you are doing kgdb source level # debugging of the kernel to get the proper debugging information. -AS := $(AS) -32 -LDFLAGS := -m elf32_sparc -CHECKFLAGS += -D__sparc__ +AS := $(AS) -32 +LDFLAGS := -m elf32_sparc +CHECKFLAGS += -D__sparc__
Is there any actual change with these lines? - I can't see any.
Quoted 9 lines
arch/sparc/Makefile +1
-0+export BITS := 32 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7arch/sparc64/Makefile +0
-0
arch/sparc64/Makefile CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 · line 15
Quoted 6 lines
arch/sparc64/Makefile +1
-2@@ -12,8 +12,8 @@ CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 # Undefine sparc when processing vmlinux.lds - it is used # And teach CPP we are doing 64 bit builds (for this case) CPPFLAGS_vmlinux.lds += -m64 -Usparc - -LDFLAGS := -m elf64_sparc +LDFLAGS := -m elf64_sparc
Ditto.
Quoted 12 lines
arch/sparc64/Makefile +1
-1+export BITS := 64 KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow \ -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare \ --1.5.6.GIT
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Julian Calaby Email: [email protected]
Quoted 17 lines · Julian Calaby
Quoted 16 lines · Sam Ravnborg
BITS will be used to simplify unified Makefiles
Signed-off-by Sam Ravnborg <[email protected]>--- arch/sparc/Makefile | 7 ++++--- arch/sparc64/Makefile | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)arch/sparc/Makefile +0
-0@@ -11,9 +11,10 @@ # Uncomment the first KBUILD_CFLAGS if you are doing kgdb source level # debugging of the kernel to get the proper debugging information.
Quoted 8 lines
arch/sparc/Makefile line 16
Quoted 6 lines
arch/sparc/Makefile +3
-3-AS := $(AS) -32 -LDFLAGS := -m elf32_sparc -CHECKFLAGS += -D__sparc__ +AS := $(AS) -32 +LDFLAGS := -m elf32_sparc +CHECKFLAGS += -D__sparc__Is there any actual change with these lines? - I can't see any.
The assignments are aligned nicely.
Quoted 18 lines
Quoted 10 lines
arch/sparc/Makefile +1
-0+export BITS := 32 #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7arch/sparc64/Makefile +0
-0arch/sparc64/Makefile CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 · line 15
Quoted 6 lines
arch/sparc64/Makefile +1
-2@@ -12,8 +12,8 @@ CHECKFLAGS += -D__sparc__ -D__sparc_v9__ -D__arch64__ -m64 # Undefine sparc when processing vmlinux.lds - it is used # And teach CPP we are doing 64 bit builds (for this case) CPPFLAGS_vmlinux.lds += -m64 -Usparc - -LDFLAGS := -m elf64_sparc +LDFLAGS := -m elf64_sparcDitto.
Same goes here.
Sam