]> git.ipfire.org Git - thirdparty/u-boot.git/blame - board/spear/common/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / board / spear / common / Makefile
CommitLineData
566c9c16
VK
1#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
566c9c16
VK
6#
7
8include $(TOPDIR)/config.mk
9
10ifneq ($(OBJTREE),$(SRCTREE))
11$(shell mkdir -p $(obj)board/$(VENDOR)/common)
12endif
13
6d8962e8 14LIB = $(obj)lib$(VENDOR).o
566c9c16 15
d014e033 16ifndef CONFIG_SPL_BUILD
566c9c16
VK
17COBJS := spr_misc.o
18SOBJS := spr_lowlevel_init.o
d014e033 19endif
566c9c16
VK
20
21SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
23SOBJS := $(addprefix $(obj),$(SOBJS))
24
25$(LIB): $(obj).depend $(OBJS) $(SOBJS)
6d8962e8 26 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
566c9c16 27
566c9c16
VK
28#########################################################################
29# This is for $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################