commit | 190554db7bcd41935827f71d4f6f787673da208a | [log] [tgz] |
---|---|---|
author | Stephen Rothwell <sfr@canb.auug.org.au> | Thu Oct 13 16:14:15 2005 +1000 |
committer | Stephen Rothwell <sfr@canb.auug.org.au> | Thu Oct 13 16:14:15 2005 +1000 |
tree | ff362bb310877b2c96ff6de3aed25b350426c575 | |
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>
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 8d1e7bd..a5f2eb5 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile
@@ -51,6 +51,8 @@ SZ := 32 endif +UTS_MACHINE := $(OLDARCH) + ifeq ($(HAS_BIARCH),y) override AS += -a$(SZ) override LD += -m elf$(SZ)ppc