diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-10 08:19:33 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-06-10 08:19:39 -0500 |
commit | 94cf042086622a7387f35244d8d8e5b79ee0d0c9 (patch) | |
tree | c2253ab9bb3419c8062c543e42186970f2611f52 | |
parent | dbd50e3de5e52eea738b8995d2d71ad6e2b2eb94 (diff) |
add some h8/300 fixes
-rw-r--r-- | mk/vars.mk | 1 | ||||
-rw-r--r-- | target/config/Config.in.gcc.choice | 1 | ||||
-rw-r--r-- | target/config/Config.in.kernel | 2 | ||||
-rw-r--r-- | target/h8300/systems/sim-h8300h | 1 |
4 files changed, 3 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 68953e14d..170580396 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -176,6 +176,7 @@ endif endif ifeq ($(ADK_TARGET_ARCH_H8300),y) +TARGET_CFLAGS+= -mh ifeq ($(ADK_TARGET_BINFMT_FLAT),y) TARGET_CFLAGS+= -Wl,-elf2flt TARGET_CXXFLAGS+= -Wl,-elf2flt diff --git a/target/config/Config.in.gcc.choice b/target/config/Config.in.gcc.choice index 3583b9d84..347b05859 100644 --- a/target/config/Config.in.gcc.choice +++ b/target/config/Config.in.gcc.choice @@ -13,6 +13,7 @@ config ADK_TOOLCHAIN_GCC_GIT bool "git" depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_AVR32 + select ADK_DISABLE_HONOUR_CFLAGS config ADK_TOOLCHAIN_GCC_5_1_0 bool "5.1.0" diff --git a/target/config/Config.in.kernel b/target/config/Config.in.kernel index 4d81617d1..decd0cba4 100644 --- a/target/config/Config.in.kernel +++ b/target/config/Config.in.kernel @@ -79,4 +79,4 @@ config ADK_TARGET_KERNEL_MINICONFIG default "xilinx-kintex7" if ADK_TARGET_SYSTEM_XILINX_KINTEX7 default "pcengines-alix" if ADK_TARGET_SYSTEM_PCENGINES_ALIX default "sim-bfin" if ADK_TARGET_SYSTEM_SIM_BFIN - default "sim-h8300" if ADK_TARGET_SYSTEM_SIM_H8300 + default "sim-h8300h" if ADK_TARGET_SYSTEM_SIM_H8300H diff --git a/target/h8300/systems/sim-h8300h b/target/h8300/systems/sim-h8300h index 2ff18a514..8583f4581 100644 --- a/target/h8300/systems/sim-h8300h +++ b/target/h8300/systems/sim-h8300h @@ -1,7 +1,6 @@ config ADK_TARGET_SYSTEM_SIM_H8300H bool "Simulator" select ADK_CPU_H8300 - select ADK_TARGET_TOOLCHAIN select ADK_TARGET_PACKAGE_TXZ help H8/300 simulator. |