3 # Marvell Semiconductor <www.marvell.com>
4 # Written-by: Lei Wen <leiwen@marvell.com>
6 # SPDX-License-Identifier: GPL-2.0+
9 include $(TOPDIR)/config.mk
11 LIB = $(obj)lib$(SOC).o
13 COBJS-y = cpu.o timer.o dram.o
15 SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
16 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
18 all: $(obj).depend $(LIB)
21 $(call cmd_link_o_target, $(OBJS))
23 #########################################################################
25 # defines $(obj).depend target
26 include $(SRCTREE)/rules.mk
28 sinclude $(obj).depend
30 #########################################################################