From: Paul Mundt Date: Fri, 12 Sep 2008 09:58:28 +0000 (+0900) Subject: sh: Provide a fixed UTS_MACHINE definition for sh64. X-Git-Tag: v2.6.28-rc1~99^2~57 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=09558748464a9afafe2848a3ad4cfd509c9b0fb6;p=linux-2.6-omap-h63xx.git sh: Provide a fixed UTS_MACHINE definition for sh64. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 01d85c74481..0bc956012c3 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