diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-13 02:14:15 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-13 02:14:15 -0400 |
commit | 190554db7bcd41935827f71d4f6f787673da208a (patch) | |
tree | ff362bb310877b2c96ff6de3aed25b350426c575 /arch/powerpc | |
parent | e8a30302abc42a0c537b9326883523da9963deb6 (diff) |
powerpc: fix uname -m
It will now give ppc64 on 64bit platforms and ppc on 32bit
platforms.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 8d1e7bd14c55..a5f2eb5f89ce 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -51,6 +51,8 @@ OLDARCH := ppc | |||
51 | SZ := 32 | 51 | SZ := 32 |
52 | endif | 52 | endif |
53 | 53 | ||
54 | UTS_MACHINE := $(OLDARCH) | ||
55 | |||
54 | ifeq ($(HAS_BIARCH),y) | 56 | ifeq ($(HAS_BIARCH),y) |
55 | override AS += -a$(SZ) | 57 | override AS += -a$(SZ) |
56 | override LD += -m elf$(SZ)ppc | 58 | override LD += -m elf$(SZ)ppc |