blob: e5494f748989fcf4a1820c210267ff448cab8bcd [file] [log] [blame]
Michal Simek38b343d2012-09-13 20:23:35 +00001#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
7#
Wolfgang Denk1a459662013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
Michal Simek38b343d2012-09-13 20:23:35 +00009#
10
11include $(TOPDIR)/config.mk
12
13LIB = $(obj)lib$(SOC).o
14
15COBJS-y := timer.o
16COBJS-y += cpu.o
Michal Simek59c651f2013-02-04 12:38:59 +010017COBJS-y += slcr.o
Michal Simek38b343d2012-09-13 20:23:35 +000018
19COBJS := $(COBJS-y)
20
21SRCS := $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
23
24all: $(obj).depend $(LIB)
25
26$(LIB): $(OBJS)
27 $(call cmd_link_o_target, $(OBJS))
28
29#########################################################################
30
31# defines $(obj).depend target
32include $(SRCTREE)/rules.mk
33
34sinclude $(obj).depend
35
36#########################################################################