blob: 3ce180cf015af95f26119e31b8e1d0b026ecc69b [file] [log] [blame]
Stephen Warrena69a33d2012-05-16 13:54:07 +00001#
2# (C) Copyright 2010-2012
3# NVIDIA Corporation <www.nvidia.com>
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stephen Warrena69a33d2012-05-16 13:54:07 +00006#
7
8include $(TOPDIR)/config.mk
9
Stephen Warrena69a33d2012-05-16 13:54:07 +000010$(shell mkdir -p $(obj)../../nvidia/common)
Stephen Warrena69a33d2012-05-16 13:54:07 +000011
12LIB = $(obj)lib$(BOARD).o
13
Marc Dietrich611ca642012-10-03 04:26:28 +000014COBJS-y := $(BOARD).o
15
16include ../../nvidia/common/common.mk
Stephen Warrena69a33d2012-05-16 13:54:07 +000017
Marc Dietrich611ca642012-10-03 04:26:28 +000018COBJS := $(COBJS-y)
Stephen Warrena69a33d2012-05-16 13:54:07 +000019SRCS := $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21
22$(LIB): $(obj).depend $(OBJS)
23 $(call cmd_link_o_target, $(OBJS))
24
25#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################