Commit 09558748 authored by Paul Mundt's avatar Paul Mundt

sh: Provide a fixed UTS_MACHINE definition for sh64.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1b582d19
...@@ -76,8 +76,10 @@ KBUILD_IMAGE := $(defaultimage-y) ...@@ -76,8 +76,10 @@ KBUILD_IMAGE := $(defaultimage-y)
# error messages during linking. # error messages during linking.
# #
ifdef CONFIG_SUPERH32 ifdef CONFIG_SUPERH32
UTS_MACHINE := sh
LDFLAGS_vmlinux += -e _stext LDFLAGS_vmlinux += -e _stext
else else
UTS_MACHINE := sh64
LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \ LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
--defsym phys_stext_shmedia=phys_stext+1 \ --defsym phys_stext_shmedia=phys_stext+1 \
-e phys_stext_shmedia -e phys_stext_shmedia
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment