blob: 135de42d37b077ecc0c874f26225c0aa76bca61d [file] [log] [blame]
Stephen Warren45b8ae62012-08-05 16:07:21 +00001#
2# See file CREDITS for list of people who contributed to this
3# project.
4#
5# This program is free software; you can redistribute it and/or
6# modify it under the terms of the GNU General Public License
7# version 2 as published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14
15include $(TOPDIR)/config.mk
16
17LIB = $(obj)lib$(SOC).o
18
19SOBJS := lowlevel_init.o
Stephen Warren91ea2882013-01-29 16:37:36 +000020COBJS := init.o reset.o timer.o mbox.o
Stephen Warren45b8ae62012-08-05 16:07:21 +000021
22SRCS := $(SOBJS:.o=.c) $(COBJS:.o=.c)
23OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
24
25all: $(obj).depend $(LIB)
26
27$(LIB): $(OBJS)
28 $(call cmd_link_o_target, $(OBJS))
29
30#########################################################################
31
32# defines $(obj).depend target
33include $(SRCTREE)/rules.mk
34
35sinclude $(obj).depend
36
37#########################################################################