summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-21 06:43:23 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-21 06:43:23 +0000
commitde2abcca5af59ebc11f66fb6fb491e16f50c8166 (patch)
tree891fd00f18abd99fb41d8453c8bc2af9ffdf176f /Rules.mak
parent4d952dfe7756644a4e7f92081906fd7d4194209c (diff)
Patch from Yoshinori Sato to update the h8300 architecture.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 46e480801..dd3a6cab0 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -150,6 +150,11 @@ ifeq ($(strip $(TARGET_ARCH)),sh)
CPU_CFLAGS-$(CONFIG_SH5)+="-m5"
endif
+ifeq ($(strip $(TARGET_ARCH)),h8300)
+ CPU_LDFLAGS-y:=-mh8300h
+ CPU_CFLAGS-y+=-mh -mint32 -fsigned-char
+endif
+
# Add a bunch of extra pedantic annoyingly strict checks
WARNINGS+=-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
# Some nice CFLAGS to work with