From 4460dd0ba7005289d3224442faf870e59e1e2f86 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Jun 2015 11:11:28 -0500 Subject: add support for h8/300 architecture --- target/config/Config.in | 1 + target/config/Config.in.binutils.choice | 2 ++ target/config/Config.in.cpu | 6 ++++++ target/config/Config.in.gcc.choice | 3 +++ target/config/Config.in.kernelversion.choice | 10 ++++++++++ target/config/Config.in.libc.choice | 4 ++-- target/config/Config.in.libc.default | 6 ++++++ 7 files changed, 30 insertions(+), 2 deletions(-) (limited to 'target/config') diff --git a/target/config/Config.in b/target/config/Config.in index cab327e50..67cd9cf1e 100644 --- a/target/config/Config.in +++ b/target/config/Config.in @@ -16,6 +16,7 @@ config ADK_TARGET_TOOLCHAIN config ADK_TARGET_UCLINUX bool + select ADK_TARGET_WITHOUT_CXX select ADK_PACKAGE_SASH select ADK_PACKAGE_SIMPLEINIT diff --git a/target/config/Config.in.binutils.choice b/target/config/Config.in.binutils.choice index 68933fc77..b6d1d3f48 100644 --- a/target/config/Config.in.binutils.choice +++ b/target/config/Config.in.binutils.choice @@ -21,6 +21,7 @@ config ADK_TOOLCHAIN_BINUTILS_2_25 depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_CRIS + depends on !ADK_TARGET_ARCH_H8300 config ADK_TOOLCHAIN_BINUTILS_2_24 bool "2.24" @@ -28,6 +29,7 @@ config ADK_TOOLCHAIN_BINUTILS_2_24 depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_CRIS + depends on !ADK_TARGET_ARCH_H8300 config ADK_TOOLCHAIN_BINUTILS_2_23_ARC bool "2.23-arc" diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index d95a5da4a..4599ad06e 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -382,6 +382,11 @@ config ADK_CPU_GEODE select ADK_TARGET_WITH_NPTL select ADK_TARGET_WITH_MMU +config ADK_CPU_H8300 + bool + select ADK_TARGET_WITHOUT_THREADS + select ADK_TARGET_WITHOUT_CXX + config ADK_CPU_I486 bool select ADK_TARGET_WITH_NPTL @@ -814,6 +819,7 @@ config ADK_TARGET_CPU_ARCH default "i686" if ADK_CPU_PENTIUM_M default "i686" if ADK_CPU_ATOM default "i686" if ADK_CPU_ATHLON + default "h8300" if ADK_TARGET_ARCH_H8300 default "hppa" if ADK_TARGET_ARCH_HPPA default "m68k" if ADK_TARGET_ARCH_M68K default "microblaze" if ADK_TARGET_ARCH_MICROBLAZE && ADK_TARGET_BIG_ENDIAN diff --git a/target/config/Config.in.gcc.choice b/target/config/Config.in.gcc.choice index 09ef3b86e..3583b9d84 100644 --- a/target/config/Config.in.gcc.choice +++ b/target/config/Config.in.gcc.choice @@ -20,6 +20,7 @@ config ADK_TOOLCHAIN_GCC_5_1_0 depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_C6X + depends on !ADK_TARGET_ARCH_H8300 config ADK_TOOLCHAIN_GCC_4_9_2 bool "4.9.2" @@ -27,6 +28,7 @@ config ADK_TOOLCHAIN_GCC_4_9_2 depends on !ADK_TARGET_ARCH_ARC depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_C6X + depends on !ADK_TARGET_ARCH_H8300 config ADK_TOOLCHAIN_GCC_4_8_4 bool "4.8.4" @@ -37,6 +39,7 @@ config ADK_TOOLCHAIN_GCC_4_8_4 depends on !ADK_TARGET_ARCH_CRIS depends on !ADK_TARGET_ARCH_TILE depends on !ADK_TARGET_ARCH_C6X + depends on !ADK_TARGET_ARCH_H8300 config ADK_TOOLCHAIN_GCC_4_8_3_ARC bool "4.8.3-arc" diff --git a/target/config/Config.in.kernelversion.choice b/target/config/Config.in.kernelversion.choice index 3cb881e53..5332381b0 100644 --- a/target/config/Config.in.kernelversion.choice +++ b/target/config/Config.in.kernelversion.choice @@ -6,6 +6,9 @@ prompt "Kernel Version" depends on ADK_TARGET_KERNEL_CUSTOMISING default ADK_KERNEL_VERSION_4_0_4 +config ADK_KERNEL_VERSION_GIT + bool "linux-git" + config ADK_KERNEL_VERSION_4_1_0_RC5 bool "4.1.0rc5" select ADK_KERNEL_VERSION_4_1 @@ -80,3 +83,10 @@ config ADK_KERNEL_VERSION_2_6_32_65 select ADK_KERNEL_VERSION_2_6_32 endchoice + +config ADK_KERNEL_REPO + string "git repository" + depends on ADK_KERNEL_VERSION_GIT + default "git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git" + help + GIT repository to use. diff --git a/target/config/Config.in.libc.choice b/target/config/Config.in.libc.choice index ee0f5f83c..6582fae4f 100644 --- a/target/config/Config.in.libc.choice +++ b/target/config/Config.in.libc.choice @@ -112,10 +112,10 @@ endchoice choice prompt "Threading" -depends on ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG +depends on (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) \ + && !ADK_TARGET_WITHOUT_THREADS config ADK_TARGET_LIB_WITH_THREADS - depends on ADK_TARGET_WITH_LT || ADK_TARGET_WITH_NPTL bool "enable threads" config ADK_TARGET_LIB_WITHOUT_THREADS diff --git a/target/config/Config.in.libc.default b/target/config/Config.in.libc.default index 526b3e49b..683a59f65 100644 --- a/target/config/Config.in.libc.default +++ b/target/config/Config.in.libc.default @@ -7,6 +7,12 @@ config ADK_TARGET_WITH_LT config ADK_TARGET_WITH_NPTL bool +config ADK_TARGET_WITHOUT_THREADS + bool + +config ADK_TARGET_WITHOUT_CXX + bool + config ADK_TARGET_LIBC string default "uclibc-ng" if ADK_TARGET_LIB_UCLIBC_NG -- cgit v1.2.3