mips: mtmips: make use of sysreset-resetctrl for mt7628 soc
[oweals/u-boot.git] / board / overo / Makefile
index 694f3178001dec49de066b772d0ada5dda02cfe4..b62bab9fe4f671962c7a9333816d82b6de6adc07 100644 (file)
@@ -1,26 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # (C) Copyright 2000, 2001, 2002
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
-include $(TOPDIR)/config.mk
-
-LIB    = $(obj)lib$(BOARD).o
-
-COBJS  := overo.o
-
-SRCS   := $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS))
-
-$(LIB):        $(obj).depend $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
 
-#########################################################################
-sinclude $(obj).depend
+ifdef CONFIG_SPL_BUILD
+obj-y  := spl.o common.o
+else
+obj-y  := overo.o common.o
+endif