projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a3030
)
powerpc: fix uname -m
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 13 Oct 2005 06:14:15 +0000
(16:14 +1000)
committer
Stephen 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index 8d1e7bd14c55daf9de9bb9ed5d3a1d6ff787c2bd..a5f2eb5f89ceb9b6210f36c92d1bae0e367352d5 100644
(file)
--- a/
arch/powerpc/Makefile
+++ b/
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