提交 190554db 编写于 作者: S Stephen Rothwell

powerpc: fix uname -m

It will now give ppc64 on 64bit platforms and ppc on 32bit
platforms.
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
上级 e8a30302
...@@ -51,6 +51,8 @@ OLDARCH := ppc ...@@ -51,6 +51,8 @@ OLDARCH := ppc
SZ := 32 SZ := 32
endif endif
UTS_MACHINE := $(OLDARCH)
ifeq ($(HAS_BIARCH),y) ifeq ($(HAS_BIARCH),y)
override AS += -a$(SZ) override AS += -a$(SZ)
override LD += -m elf$(SZ)ppc override LD += -m elf$(SZ)ppc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册