浏览代码

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>
Stephen Rothwell 20 年之前
父节点
当前提交
190554db7b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/powerpc/Makefile

+ 2 - 0
arch/powerpc/Makefile

@@ -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