projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b582d1
)
sh: Provide a fixed UTS_MACHINE definition for sh64.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 12 Sep 2008 09:58:28 +0000
(18:58 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 12 Sep 2008 09:58:28 +0000
(18:58 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile
patch
|
blob
|
history
diff --git
a/arch/sh/Makefile
b/arch/sh/Makefile
index
01d85c7
..
0bc9560
100644
(file)
--- a/
arch/sh/Makefile
+++ b/
arch/sh/Makefile
@@
-76,8
+76,10
@@
KBUILD_IMAGE := $(defaultimage-y)
# error messages during linking.
#
ifdef CONFIG_SUPERH32
+UTS_MACHINE := sh
LDFLAGS_vmlinux += -e _stext
else
+UTS_MACHINE := sh64
LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
--defsym phys_stext_shmedia=phys_stext+1 \
-e phys_stext_shmedia