diff options
author | Luis Alves <ljalvs@gmail.com> | 2012-10-25 16:01:16 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-12-04 19:51:20 -0500 |
commit | 9da1a84a9125dab0c95f045068e36512334ab473 (patch) | |
tree | 0ccda941c1a2e667a7ebfca84096e15886c854d6 /arch | |
parent | 4674e8d385c34498a329fc31b41f449dc419014d (diff) |
m68knommu: disable MC68000 cpu target when MMU is selected
As pointed out by Geert, MC68000 target needs to be disabled when
MMU support is enabled.
From Geert:
This needs a "depends on !MMU".
Else allmodconfig will select it, causing -m68000 to be passed to the assembler,
which may break the build depending on your version of binutils, a.o.
arch/m68k/kernel/entry.S:186: Error: invalid instruction for this
architecture; needs 68020 or higher (68020 [68k, 68ec020], 68030
[68ec030], 68040 [68ec040], 68060 [68ec060]) -- statement `bfextu
%sp@(50){#0,#4},%d0' ignored
arch/m68k/kernel/entry.S:211: Error: invalid operand mode for this
architecture; needs 68020 or higher -- statement `jbsr
@(sys_call_table,%d0:l:4)@(0)' ignored
Cfr. http://kisskb.ellerman.id.au/kisskb/buildresult/7416877/
Signed-off-by: Luis Alves <ljalvs@gmail.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/Kconfig.cpu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu index aad3b0bad7de..6708fa48e895 100644 --- a/arch/m68k/Kconfig.cpu +++ b/arch/m68k/Kconfig.cpu | |||
@@ -36,6 +36,7 @@ if M68KCLASSIC | |||
36 | 36 | ||
37 | config M68000 | 37 | config M68000 |
38 | bool "MC68000" | 38 | bool "MC68000" |
39 | depends on !MMU | ||
39 | select CPU_HAS_NO_BITFIELDS | 40 | select CPU_HAS_NO_BITFIELDS |
40 | select CPU_HAS_NO_MULDIV64 | 41 | select CPU_HAS_NO_MULDIV64 |
41 | select CPU_HAS_NO_UNALIGNED | 42 | select CPU_HAS_NO_UNALIGNED |