]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/xilinx/zynq/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / xilinx / zynq / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
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
14 COBJS := $(sort $(COBJS-y))
15
16 SRCS := $(COBJS:.o=.c)
17 OBJS := $(addprefix $(obj),$(COBJS))
18
19 $(LIB): $(obj).depend $(OBJS)
20 $(call cmd_link_o_target, $(OBJS))
21
22 clean:
23 rm -f $(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 #########################################################################