diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 18:58:28 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-12 18:58:28 +0900 |
commit | 09558748464a9afafe2848a3ad4cfd509c9b0fb6 (patch) | |
tree | 22deeca605ca3444158051d4cdb40f0d3d23fd93 /arch/sh/Makefile | |
parent | 1b582d19ce9e14bf5bbc36688bf818b3c42574da (diff) | |
download | kernel_samsung_tuna-09558748464a9afafe2848a3ad4cfd509c9b0fb6.zip kernel_samsung_tuna-09558748464a9afafe2848a3ad4cfd509c9b0fb6.tar.gz kernel_samsung_tuna-09558748464a9afafe2848a3ad4cfd509c9b0fb6.tar.bz2 |
sh: Provide a fixed UTS_MACHINE definition for sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 01d85c7..0bc9560 100644 --- 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 |