2 # Copyright (c) 2010-2012, NVIDIA CORPORATION. All rights reserved.
4 # (C) Copyright 2000-2003
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # This program is free software; you can redistribute it and/or modify it
8 # under the terms and conditions of the GNU General Public License,
9 # version 2, as published by the Free Software Foundation.
11 # This program is distributed in the hope it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 include $(TOPDIR)/config.mk
22 LIB = $(obj)lib$(SOC).o
25 SRCS := $(COBJS:.o=.c)
26 OBJS := $(addprefix $(obj),$(COBJS))
28 all: $(obj).depend $(LIB)
31 $(call cmd_link_o_target, $(OBJS))
33 #########################################################################
35 # defines $(obj).depend target
36 include $(SRCTREE)/rules.mk
38 sinclude $(obj).depend
40 #########################################################################