2011-11-17 00:10:25 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2010,2011
|
|
|
|
# NVIDIA Corporation <www.nvidia.com>
|
2012-06-04 20:02:24 +00:00
|
|
|
# (C) Copyright 2011,2012
|
2011-11-17 00:10:25 +00:00
|
|
|
# Avionic Design GmbH <www.avionic-design.de>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-11-17 00:10:25 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2012-06-04 20:02:24 +00:00
|
|
|
$(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
|
2011-11-17 00:10:25 +00:00
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
2012-10-03 04:26:28 +00:00
|
|
|
COBJS-y := ../common/tamonten.o
|
2011-11-17 00:10:25 +00:00
|
|
|
|
2012-10-03 04:26:28 +00:00
|
|
|
include ../../nvidia/common/common.mk
|
|
|
|
|
|
|
|
COBJS := $(COBJS-y)
|
2011-11-17 00:10:25 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|