]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/tegra20/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / tegra20 / Makefile
1 #
2 # (C) Copyright 2010,2011 Nvidia Corporation.
3 #
4 # (C) Copyright 2000-2003
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$(SOC).o
13
14 COBJS-$(CONFIG_PWM_TEGRA) += pwm.o
15 COBJS-$(CONFIG_VIDEO_TEGRA) += display.o
16
17 COBJS   := $(COBJS-y)
18 SRCS    := $(COBJS:.o=.c)
19 OBJS    := $(addprefix $(obj),$(COBJS))
20
21 all:     $(obj).depend $(LIB)
22
23 $(LIB): $(OBJS)
24         $(call cmd_link_o_target, $(OBJS))
25
26 #########################################################################
27
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
30
31 sinclude $(obj).depend
32
33 #########################################################################