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)libtegra-common.o
14 COBJS-$(CONFIG_CMD_ENTERRCM) += cmd_enterrcm.o
17 SRCS := $(COBJS:.o=.c)
18 OBJS := $(addprefix $(obj),$(COBJS))
20 all: $(obj).depend $(LIB)
23 $(call cmd_link_o_target, $(OBJS))
25 #########################################################################
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
30 sinclude $(obj).depend
32 #########################################################################