]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/br4/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / br4 / Makefile
1 #
2 # U-boot - Makefile
3 #
4 # Copyright (c) Switchfin Org. <dpn@switchfin.org>
5 #
6 # Copyright (c) 2005-2007 Analog Device Inc.
7 #
8 # (C) Copyright 2000-2006
9 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 #
11 # SPDX-License-Identifier: GPL-2.0+
12 #
13
14 include $(TOPDIR)/config.mk
15
16 LIB = $(obj)lib$(BOARD).o
17
18 COBJS-y := $(BOARD).o
19
20 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
21 OBJS := $(addprefix $(obj),$(COBJS-y))
22 SOBJS := $(addprefix $(obj),$(SOBJS-y))
23
24 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
25 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################