166b796a5SThierry Reding#
266b796a5SThierry Reding#  (C) Copyright 2010,2011
366b796a5SThierry Reding#  NVIDIA Corporation <www.nvidia.com>
466b796a5SThierry Reding#  (C) Copyright 2011,2012
566b796a5SThierry Reding#  Avionic Design GmbH <www.avionic-design.de>
666b796a5SThierry Reding#
7*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
866b796a5SThierry Reding#
966b796a5SThierry Reding
1066b796a5SThierry Redinginclude $(TOPDIR)/config.mk
1166b796a5SThierry Reding
1266b796a5SThierry Reding$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
1366b796a5SThierry Reding
1466b796a5SThierry RedingLIB	= $(obj)lib$(BOARD).o
1566b796a5SThierry Reding
1673286d87SMarc DietrichCOBJS-y	:= ../common/tamonten.o
1766b796a5SThierry Reding
1873286d87SMarc Dietrichinclude ../../nvidia/common/common.mk
1973286d87SMarc Dietrich
2073286d87SMarc DietrichCOBJS	:= $(COBJS-y)
2166b796a5SThierry RedingSRCS	:= $(COBJS:.o=.c)
2266b796a5SThierry RedingOBJS	:= $(addprefix $(obj),$(COBJS))
2366b796a5SThierry Reding
2466b796a5SThierry Reding$(LIB):	$(obj).depend $(OBJS)
2566b796a5SThierry Reding	$(call cmd_link_o_target, $(OBJS))
2666b796a5SThierry Reding
2766b796a5SThierry Reding#########################################################################
2866b796a5SThierry Reding
2966b796a5SThierry Reding# defines $(obj).depend target
3066b796a5SThierry Redinginclude $(SRCTREE)/rules.mk
3166b796a5SThierry Reding
3266b796a5SThierry Redingsinclude $(obj).depend
3366b796a5SThierry Reding
3466b796a5SThierry Reding#########################################################################
35