1*07067145STom Warren# 2*07067145STom Warren# Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. 3*07067145STom Warren# 4*07067145STom Warren# This program is free software; you can redistribute it and/or modify it 5*07067145STom Warren# under the terms and conditions of the GNU General Public License, 6*07067145STom Warren# version 2, as published by the Free Software Foundation. 7*07067145STom Warren# 8*07067145STom Warren# This program is distributed in the hope it will be useful, but WITHOUT 9*07067145STom Warren# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10*07067145STom Warren# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11*07067145STom Warren# more details. 12*07067145STom Warren# 13*07067145STom Warren# You should have received a copy of the GNU General Public License 14*07067145STom Warren# along with this program. If not, see <http://www.gnu.org/licenses/>. 15*07067145STom Warren# 16*07067145STom Warren 17*07067145STom Warreninclude $(TOPDIR)/config.mk 18*07067145STom Warren 19*07067145STom WarrenLIB = $(obj)lib$(BOARD).o 20*07067145STom Warren 21*07067145STom WarrenCOBJS := $(BOARD).o 22*07067145STom Warren 23*07067145STom WarrenSRCS := $(COBJS:.o=.c) 24*07067145STom WarrenOBJS := $(addprefix $(obj),$(COBJS)) 25*07067145STom Warren 26*07067145STom Warren$(LIB): $(obj).depend $(OBJS) 27*07067145STom Warren $(call cmd_link_o_target, $(OBJS)) 28*07067145STom Warren 29*07067145STom Warren######################################################################### 30*07067145STom Warren 31*07067145STom Warren# defines $(obj).depend target 32*07067145STom Warreninclude $(SRCTREE)/rules.mk 33*07067145STom Warren 34*07067145STom Warrensinclude $(obj).depend 35*07067145STom Warren 36*07067145STom Warren######################################################################### 37