]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/m68k/lib/Makefile
m68k: add generic-board support
[karo-tx-uboot.git] / arch / m68k / lib / Makefile
index 65867d6e4711b42d7b98cdceecb8098d7a1a9548..d0e1a845dd1c5cf733d35d5d6317f39ebc728739 100644 (file)
@@ -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