blob: a55c1f92e00bdbb693a45664e07f2c4bd784cb32 [file] [log] [blame]
Tom Warrenefc05ae2011-01-27 10:58:07 +00001#
2# (C) Copyright 2010,2011
3# NVIDIA Corporation <www.nvidia.com>
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Tom Warrenefc05ae2011-01-27 10:58:07 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
Tom Warrenf4ef6662011-04-14 12:09:41 +000012COBJS := $(BOARD).o
Tom Warrenefc05ae2011-01-27 10:58:07 +000013
14SRCS := $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16
17$(LIB): $(obj).depend $(OBJS)
Mike Frysinger26ddff22011-10-18 05:30:17 +000018 $(call cmd_link_o_target, $(OBJS))
Tom Warrenefc05ae2011-01-27 10:58:07 +000019
Tom Warrenefc05ae2011-01-27 10:58:07 +000020#########################################################################
21
22# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend
26
27#########################################################################