Add GPL-2.0+ SPDX-License-Identifier to source files
[platform/kernel/u-boot.git] / board / amcc / bluestone / Makefile
1 #
2 # Copyright (c) 2010, Applied Micro Circuits Corporation
3 # Author: Tirumala R Marri <tmarri@apm.com>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)lib$(BOARD).o
11
12 COBJS-y := $(BOARD).o
13 SOBJS   := init.o
14
15 COBJS   := $(COBJS-y)
16 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
17 OBJS    := $(addprefix $(obj),$(COBJS))
18 SOBJS   := $(addprefix $(obj),$(SOBJS))
19
20 all:    $(LIB) $(SOBJS)
21
22 $(LIB): $(OBJS)
23         $(call cmd_link_o_target, $^)
24
25 #########################################################################
26
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
29
30 sinclude $(obj).depend
31
32 #########################################################################