blob: 3077319ae2290891b710e7a4a393ce996288245a [file] [log] [blame]
Thierry Reding52d6c122012-06-04 20:02:30 +00001#
2# (C) Copyright 2010,2011
3# NVIDIA Corporation <www.nvidia.com>
4# (C) Copyright 2011,2012
5# Avionic Design GmbH <www.avionic-design.de>
6#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Thierry Reding52d6c122012-06-04 20:02:30 +00008#
9
10include $(TOPDIR)/config.mk
11
Thierry Reding52d6c122012-06-04 20:02:30 +000012$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
Thierry Reding52d6c122012-06-04 20:02:30 +000013
14LIB = $(obj)lib$(BOARD).o
15
Marc Dietrich611ca642012-10-03 04:26:28 +000016COBJS-y := ../common/tamonten.o
17
18include ../../nvidia/common/common.mk
Thierry Reding52d6c122012-06-04 20:02:30 +000019
Marc Dietrich611ca642012-10-03 04:26:28 +000020COBJS := $(COBJS-y)
Thierry Reding52d6c122012-06-04 20:02:30 +000021SRCS := $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
23
24$(LIB): $(obj).depend $(OBJS)
25 $(call cmd_link_o_target, $(OBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################