]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: fix uname -m
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2005 06:14:15 +0000 (16:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2005 06:14:15 +0000 (16:14 +1000)
It will now give ppc64 on 64bit platforms and ppc on 32bit
platforms.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/Makefile

index 8d1e7bd14c55daf9de9bb9ed5d3a1d6ff787c2bd..a5f2eb5f89ceb9b6210f36c92d1bae0e367352d5 100644 (file)
@@ -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