]> git.dujemihanovic.xyz Git - u-boot.git/blob
4ea6d6b
[u-boot.git] /
1 #
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
15 include $(TOPDIR)/config.mk
16
17 LIB = $(obj)lib$(SOC).o
18
19 SOBJS := lowlevel_init.o
20 COBJS := reset.o timer.o
21
22 SRCS := $(SOBJS:.o=.c) $(COBJS:.o=.c)
23 OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
24
25 all: $(obj).depend $(LIB)
26
27 $(LIB): $(OBJS)
28 $(call cmd_link_o_target, $(OBJS))
29
30 #########################################################################
31
32 # defines $(obj).depend target
33 include $(SRCTREE)/rules.mk
34
35 sinclude $(obj).depend
36
37 #########################################################################