diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-29 19:51:23 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-04-30 18:50:46 +0200 |
commit | 015322fccb0b785af3f7dd62618aa717f8aca064 (patch) | |
tree | f4853f67180024cdfac90fd526435098c1f08dcb /arch | |
parent | e7a682be31750726a4dfc84a7ea5ef650baa4e72 (diff) |
toolchain: add coldfire support
Add support for m68k/coldfire. A gcc patch is required
to avoid gcc ICE.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Config.in | 2 | ||||
-rw-r--r-- | arch/Config.in.m68k | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/arch/Config.in b/arch/Config.in index 3f1453fc0..be37481ac 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -94,7 +94,7 @@ config BR2_i386 config BR2_m68k bool "m68k" - select BR2_ARCH_HAS_MMU_MANDATORY + # MMU support is set by the subarchitecture file, arch/Config.in.m68k help Motorola 68000 family microprocessor http://en.wikipedia.org/wiki/M68k diff --git a/arch/Config.in.m68k b/arch/Config.in.m68k index 94494c880..da06c3a9b 100644 --- a/arch/Config.in.m68k +++ b/arch/Config.in.m68k @@ -4,6 +4,14 @@ config BR2_ARCH config BR2_ENDIAN default "BIG" +# symbols used to distinguish between m68k and coldfire +# for gcc multilib +config BR2_m68k_m68k + bool + +config BR2_m68k_cf + bool + # coldfire variants will be added later choice prompt "Target CPU" @@ -14,8 +22,20 @@ choice config BR2_m68k_68040 bool "68040" + select BR2_m68k_m68k + select BR2_ARCH_HAS_MMU_MANDATORY + +config BR2_m68k_cf5208 + bool "5208" + select BR2_m68k_cf + select BR2_SOFT_FLOAT endchoice config BR2_GCC_TARGET_CPU default "68040" if BR2_m68k_68040 + default "5208" if BR2_m68k_cf5208 + +config BR2_GCC_TARGET_ARCH + default "m68k" if BR2_m68k_m68k + default "cf" if BR2_m68k_cf |