summaryrefslogtreecommitdiff
path: root/arch/m68k/lib/Makefile
diff options
context:
space:
mode:
authorangelo@sysam.it <angelo@sysam.it>2015-02-12 01:40:17 +0100
committerTom Rini <trini@konsulko.com>2015-03-05 20:13:21 -0500
commite310b93ec1f7db77c1bb91841f7b73d47f43b561 (patch)
tree800a993df416ea579cd8dbb944da7d56f0557ae0 /arch/m68k/lib/Makefile
parente77e65dfc2f803e7dd78f5bb2bc6b3750635cedd (diff)
m68k: add generic-board support
Add generic-board support for the m68k architecture. Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/lib/Makefile')
-rw-r--r--arch/m68k/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/lib/Makefile b/arch/m68k/lib/Makefile
index 65867d6e47..d0e1a845dd 100644
--- a/arch/m68k/lib/Makefile
+++ b/arch/m68k/lib/Makefile
@@ -5,7 +5,9 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y += board.o
+ifndef CONFIG_SYS_GENERIC_BOARD
+obj-y += board.o
+endif
obj-$(CONFIG_CMD_BOOTM) += bootm.o
obj-y += cache.o
obj-y += interrupts.o