]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arm/cpu/arm720t/tegra-common/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / cpu / arm720t / tegra-common / Makefile
1 #
2 # (C) Copyright 2010,2011 Nvidia Corporation.
3 #
4 # (C) Copyright 2000-2008
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)libtegra-common.o
13
14 COBJS-$(CONFIG_SPL_BUILD) += spl.o
15 COBJS-y += cpu.o
16
17 SRCS := $(COBJS-y:.o=.c)
18 OBJS := $(addprefix $(obj),$(COBJS-y))
19
20 all: $(obj).depend $(LIB)
21
22 $(LIB): $(OBJS)
23 $(call cmd_link_o_target, $(OBJS))
24
25 #########################################################################
26
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
29
30 sinclude $(obj).depend
31
32 #########################################################################