Commit 190554db authored by Stephen Rothwell's avatar Stephen Rothwell

powerpc: fix uname -m

It will now give ppc64 on 64bit platforms and ppc on 32bit
platforms.
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent e8a30302
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment