2 # (C) Copyright 2010,2011 Nvidia Corporation.
4 # (C) Copyright 2000-2003
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # SPDX-License-Identifier: GPL-2.0+
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(SOC).o
14 COBJS-$(CONFIG_PWM_TEGRA) += pwm.o
15 COBJS-$(CONFIG_VIDEO_TEGRA) += display.o
18 SRCS := $(COBJS:.o=.c)
19 OBJS := $(addprefix $(obj),$(COBJS))
21 all: $(obj).depend $(LIB)
24 $(call cmd_link_o_target, $(OBJS))
26 #########################################################################
28 # defines $(obj).depend target
29 include $(SRCTREE)/rules.mk
31 sinclude $(obj).depend
33 #########################################################################