]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Provide a fixed UTS_MACHINE definition for sh64.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 12 Sep 2008 09:58:28 +0000 (18:58 +0900)
committerPaul 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

index 01d85c74481d9a42a066ecc9e8ecd0216621961a..0bc956012c38ee207dd1af1f65c449870303d8b5 100644 (file)
@@ -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