diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-30 15:26:24 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2020-12-07 09:37:58 +1000 |
commit | 8b22820efb35f93d98638563b0a8f4094e8ee399 (patch) | |
tree | c77b510fff317ef77913d4fad7def80654b9abaf /arch/m68k/68000/Makefile | |
parent | a734bbf694270dca8594a5c33375867dc31503f5 (diff) |
m68k: m68328: remove duplicate code
Building a kernel with multiple dragonball based boards
enabled needlessly causes a link failure because of duplicate
config_BSP() functions between the CPU versions.
Avoid that merging the three almost identical files into one,
and hiding the CPU configuration behind the board config.
The pr_info() lines are consolidated in one place.
It is still not possible to run a kernel configured for
more than one board, but at least configurations that can
be selected can also be built now.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/68000/Makefile')
-rw-r--r-- | arch/m68k/68000/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/m68k/68000/Makefile b/arch/m68k/68000/Makefile index ce0b26d6580d..674541fdf5b8 100644 --- a/arch/m68k/68000/Makefile +++ b/arch/m68k/68000/Makefile @@ -10,10 +10,7 @@ # 68328, 68EZ328, 68VZ328 -obj-y += entry.o ints.o timers.o -obj-$(CONFIG_M68328) += m68328.o -obj-$(CONFIG_M68EZ328) += m68EZ328.o -obj-$(CONFIG_M68VZ328) += m68VZ328.o +obj-y += entry.o ints.o timers.o m68328.o obj-$(CONFIG_ROM) += romvec.o obj-$(CONFIG_DRAGEN2) += dragen2.o |