blob: afdc2c1213431103f0410d1ad0fa696ccdeda9bb [file] [log] [blame]
Helmut Raigere5ecbb72011-10-27 01:31:15 +00001#
2# (C) Copyright 2009 HALE electronic <helmut.raiger@hale.at>
3# (C) Copyright 2000-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Helmut Raigere5ecbb72011-10-27 01:31:15 +00007#
8
9include $(TOPDIR)/config.mk
10
11LIB = $(obj)lib$(BOARD).o
12COBJS := tt01.o
13SOBJS := lowlevel_init.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
20 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
21
22clean:
23 rm -f $(SOBJS) $(OBJS)
24
25distclean: clean
26 rm -f $(LIB) core *.bak $(obj).depend
27
28#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################