blob: 3077319ae2290891b710e7a4a393ce996288245a [file] [log] [blame]
Thierry Redingc91915e2011-11-17 00:10:26 +00001#
2# (C) Copyright 2010,2011
3# NVIDIA Corporation <www.nvidia.com>
Thierry Redinged900c52012-06-04 20:02:24 +00004# (C) Copyright 2011,2012
Thierry Redingc91915e2011-11-17 00:10:26 +00005# Avionic Design GmbH <www.avionic-design.de>
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Thierry Redingc91915e2011-11-17 00:10:26 +00008#
9
10include $(TOPDIR)/config.mk
11
Thierry Redinged900c52012-06-04 20:02:24 +000012$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
Thierry Redingc91915e2011-11-17 00:10:26 +000013
14LIB = $(obj)lib$(BOARD).o
15
Marc Dietrich73286d82012-10-03 04:26:28 +000016COBJS-y := ../common/tamonten.o
Thierry Redingc91915e2011-11-17 00:10:26 +000017
Marc Dietrich73286d82012-10-03 04:26:28 +000018include ../../nvidia/common/common.mk
19
20COBJS := $(COBJS-y)
Thierry Redingc91915e2011-11-17 00:10:26 +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#########################################################################