Thierry Reding | 4026aca | 2011-11-17 00:10:25 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2010,2011 |
| 3 | # NVIDIA Corporation <www.nvidia.com> |
Thierry Reding | ed900c5 | 2012-06-04 20:02:24 +0000 | [diff] [blame] | 4 | # (C) Copyright 2011,2012 |
Thierry Reding | 4026aca | 2011-11-17 00:10:25 +0000 | [diff] [blame] | 5 | # Avionic Design GmbH <www.avionic-design.de> |
| 6 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Thierry Reding | 4026aca | 2011-11-17 00:10:25 +0000 | [diff] [blame] | 8 | # |
| 9 | |
| 10 | include $(TOPDIR)/config.mk |
| 11 | |
Thierry Reding | ed900c5 | 2012-06-04 20:02:24 +0000 | [diff] [blame] | 12 | $(shell mkdir -p $(obj)../common $(obj)../../nvidia/common) |
Thierry Reding | 4026aca | 2011-11-17 00:10:25 +0000 | [diff] [blame] | 13 | |
| 14 | LIB = $(obj)lib$(BOARD).o |
| 15 | |
Marc Dietrich | 73286d8 | 2012-10-03 04:26:28 +0000 | [diff] [blame] | 16 | COBJS-y := ../common/tamonten.o |
Thierry Reding | 4026aca | 2011-11-17 00:10:25 +0000 | [diff] [blame] | 17 | |
Marc Dietrich | 73286d8 | 2012-10-03 04:26:28 +0000 | [diff] [blame] | 18 | include ../../nvidia/common/common.mk |
| 19 | |
| 20 | COBJS := $(COBJS-y) |
Thierry Reding | 4026aca | 2011-11-17 00:10:25 +0000 | [diff] [blame] | 21 | SRCS := $(COBJS:.o=.c) |
| 22 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 23 | |
| 24 | $(LIB): $(obj).depend $(OBJS) |
| 25 | $(call cmd_link_o_target, $(OBJS)) |
| 26 | |
| 27 | ######################################################################### |
| 28 | |
| 29 | # defines $(obj).depend target |
| 30 | include $(SRCTREE)/rules.mk |
| 31 | |
| 32 | sinclude $(obj).depend |
| 33 | |
| 34 | ######################################################################### |