]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/hale/tt01/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / hale / tt01 / Makefile
1 #
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 #
6 # SPDX-License-Identifier: GPL-2.0+
7 #
8
9 include $(TOPDIR)/config.mk
10
11 LIB = $(obj)lib$(BOARD).o
12 COBJS := tt01.o
13 SOBJS := lowlevel_init.o
14
15 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16 OBJS := $(addprefix $(obj),$(COBJS))
17 SOBJS := $(addprefix $(obj),$(SOBJS))
18
19 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
20 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
21
22 clean:
23 rm -f $(SOBJS) $(OBJS)
24
25 distclean: clean
26 rm -f $(LIB) core *.bak $(obj).depend
27
28 #########################################################################
29
30 # defines $(obj).depend target
31 include $(SRCTREE)/rules.mk
32
33 sinclude $(obj).depend
34
35 #########################################################################