mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
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>
This commit is contained in:
parent
e8a30302ab
commit
190554db7b
@ -51,6 +51,8 @@ OLDARCH := ppc
|
||||
SZ := 32
|
||||
endif
|
||||
|
||||
UTS_MACHINE := $(OLDARCH)
|
||||
|
||||
ifeq ($(HAS_BIARCH),y)
|
||||
override AS += -a$(SZ)
|
||||
override LD += -m elf$(SZ)ppc
|
||||
|
Loading…
Reference in New Issue
Block a user