blob: a1a6df0bca912920bd4929ca241276f5597e2339 [file] [log] [blame]
Prafulla Wadaskarc0c7a112010-10-12 16:31:40 +05301#
2# (C) Copyright 2010
3# Marvell Semiconductor <www.marvell.com>
4# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Prafulla Wadaskarc0c7a112010-10-12 16:31:40 +05307#
8
9include $(TOPDIR)/config.mk
10
11LIB = $(obj)lib$(SOC).o
12
13COBJS-y = cpu.o timer.o dram.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
16OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
17
18all: $(obj).depend $(LIB)
19
20$(LIB): $(OBJS)
Mike Frysinger57e0deb2011-10-18 05:30:17 +000021 $(call cmd_link_o_target, $(OBJS))
Prafulla Wadaskarc0c7a112010-10-12 16:31:40 +053022
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################