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