]> git.ipfire.org Git - thirdparty/u-boot.git/blob - board/mpl/vcma9/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / board / mpl / vcma9 / 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 ifneq ($(OBJTREE),$(SRCTREE))
10 $(shell mkdir -p $(obj)../common)
11 endif
12
13 LIB = $(obj)lib$(BOARD).o
14
15 COBJS := ../common/common_util.o
16 COBJS += $(BOARD).o cmd_$(BOARD).o
17
18 SOBJS := lowlevel_init.o
19
20 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
21 OBJS := $(addprefix $(obj),$(COBJS))
22 SOBJS := $(addprefix $(obj),$(SOBJS))
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 #########################################################################