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:
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
|
blame
|
history
diff --git
a/arch/sh/Makefile
b/arch/sh/Makefile
index 01d85c74481d9a42a066ecc9e8ecd0216621961a..0bc956012c38ee207dd1af1f65c449870303d8b5 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