diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-07-22 15:47:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-22 15:47:17 -0700 |
commit | 4a0a088970a553e9f89d23eec688932f689d57f9 (patch) | |
tree | 9fd4e58a6b162e6ed4ec9d89c320aab6e8ecf1f1 /arch/sparc | |
parent | 428695b89831d781ba203d97ee07da68150ea40d (diff) | |
download | op-kernel-dev-4a0a088970a553e9f89d23eec688932f689d57f9.zip op-kernel-dev-4a0a088970a553e9f89d23eec688932f689d57f9.tar.gz |
sparc32: pass -m32 when building vmlinux.lds
Otherwise it breaks since we merged asm/page.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index fef28e2..6668e60 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -18,6 +18,7 @@ CHECKFLAGS += -D__sparc__ #KBUILD_CFLAGS += -g -pipe -fcall-used-g5 -fcall-used-g7 KBUILD_CFLAGS += -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 KBUILD_AFLAGS += -m32 +CPPFLAGS_vmlinux.lds += -m32 #LDFLAGS_vmlinux = -N -Ttext 0xf0004000 # Since 2.5.40, the first stage is left not btfix-ed. |