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