]> git.ipfire.org Git - thirdparty/u-boot.git/blob - board/emk/top9000/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / board / emk / top9000 / Makefile
1 #
2 # (C) Copyright 2003-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2010
6 # Reinhard Meyer, EMK Elektronik, reinhard.meyer@emk-elektronik.de
7 #
8 # SPDX-License-Identifier: GPL-2.0+
9 #
10
11 include $(TOPDIR)/config.mk
12
13 LIB = $(obj)lib$(BOARD).o
14
15 COBJS-y += $(BOARD).o
16 COBJS-$(CONFIG_ATMEL_SPI) += spi.o
17
18 SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS-y))
20 SOBJS := $(addprefix $(obj),$(SOBJS))
21
22 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
23 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
24
25 #########################################################################
26
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
29
30 sinclude $(obj).depend
31
32 #########################################################################