]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/LaCie/netspace_v2/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / LaCie / netspace_v2 / Makefile
CommitLineData
79642098
SG
1#
2# Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
3#
4# Based on Kirkwood support:
5# (C) Copyright 2009
6# Marvell Semiconductor <www.marvell.com>
7# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8#
1a459660 9# SPDX-License-Identifier: GPL-2.0+
79642098
SG
10#
11
12include $(TOPDIR)/config.mk
77ea071f
SG
13ifneq ($(OBJTREE),$(SRCTREE))
14$(shell mkdir -p $(obj)../common)
15endif
79642098
SG
16
17LIB = $(obj)lib$(BOARD).o
18
77ea071f 19COBJS := $(BOARD).o ../common/common.o
79642098
SG
20
21SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
23SOBJS := $(addprefix $(obj),$(SOBJS))
24
25$(LIB): $(obj).depend $(OBJS) $(SOBJS)
26 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
27
79642098
SG
28#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################