- New toolchain support
- Add new flags
Signed-off-by: Yoshinori Sato <ysato(a)users.sourceforge.jp>
---
Rules.mak | 2 ++
extra/Configs/Config.h8300 | 1 +
2 files changed, 3 insertions(+)
diff --git a/Rules.mak b/Rules.mak
index 39bfbd1..e48ed50 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -429,6 +429,8 @@ endif
endif
ifeq ($(TARGET_ARCH),h8300)
+ CPU_LDFLAGS-$(CONFIG_H8300H)+= -Wl,-mh8300h_linux
+ CPU_LDFLAGS-$(CONFIG_H8S) += -Wl,-mh8300s_linux
CPU_CFLAGS-$(CONFIG_H8300H) += -mh -mint32
CPU_CFLAGS-$(CONFIG_H8S) += -ms -mint32
endif
diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300
index 0c5486c..ad01596 100644
--- a/extra/Configs/Config.h8300
+++ b/extra/Configs/Config.h8300
@@ -14,6 +14,7 @@ config FORCE_OPTIONS_FOR_ARCH
select ARCH_HAS_NO_MMU
select ARCH_HAS_NO_LDSO
select HAVE_NO_PIC
+ select ARCH_HAS_DEPRECATED_SYSCALLS
choice
prompt "Target Processor"
--
2.6.1