2 # Copyright (c) 2010-2012, NVIDIA CORPORATION. All rights reserved.
4 # See file CREDITS for list of people who contributed to this
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
17 include $(TOPDIR)/config.mk
19 $(shell mkdir -p $(obj)../../nvidia/common)
21 LIB = $(obj)lib$(BOARD).o
25 include ../../nvidia/common/common.mk
28 SRCS := $(COBJS:.o=.c)
29 OBJS := $(addprefix $(obj),$(COBJS))
31 $(LIB): $(obj).depend $(OBJS)
32 $(call cmd_link_o_target, $(OBJS))
34 #########################################################################
36 # defines $(obj).depend target
37 include $(SRCTREE)/rules.mk
39 sinclude $(obj).depend
41 #########################################################################