xref: /rk3399_rockchip-uboot/board/avionic-design/plutux/Makefile (revision 4026aca6d6d2b6b4501acaae6f2f5d904a0f3ee1)
1*4026aca6SThierry Reding#
2*4026aca6SThierry Reding#  (C) Copyright 2010,2011
3*4026aca6SThierry Reding#  NVIDIA Corporation <www.nvidia.com>
4*4026aca6SThierry Reding#  (C) Copyright 2011
5*4026aca6SThierry Reding#  Avionic Design GmbH <www.avionic-design.de>
6*4026aca6SThierry Reding#
7*4026aca6SThierry Reding#  See file CREDITS for list of people who contributed to this
8*4026aca6SThierry Reding#  project.
9*4026aca6SThierry Reding#
10*4026aca6SThierry Reding#  This program is free software; you can redistribute it and/or
11*4026aca6SThierry Reding#  modify it under the terms of the GNU General Public License as
12*4026aca6SThierry Reding#  published by the Free Software Foundation; either version 2 of
13*4026aca6SThierry Reding#  the License, or (at your option) any later version.
14*4026aca6SThierry Reding#
15*4026aca6SThierry Reding#  This program is distributed in the hope that it will be useful,
16*4026aca6SThierry Reding#  but WITHOUT ANY WARRANTY; without even the implied warranty of
17*4026aca6SThierry Reding#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*4026aca6SThierry Reding#  GNU General Public License for more details.
19*4026aca6SThierry Reding#
20*4026aca6SThierry Reding#  You should have received a copy of the GNU General Public License
21*4026aca6SThierry Reding#  along with this program; if not, write to the Free Software
22*4026aca6SThierry Reding#  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23*4026aca6SThierry Reding#  MA 02111-1307 USA
24*4026aca6SThierry Reding#
25*4026aca6SThierry Reding
26*4026aca6SThierry Redinginclude $(TOPDIR)/config.mk
27*4026aca6SThierry Reding
28*4026aca6SThierry Redingifneq ($(OBJTREE),$(SRCTREE))
29*4026aca6SThierry Reding$(shell mkdir -p $(obj)../common)
30*4026aca6SThierry Redingendif
31*4026aca6SThierry Reding
32*4026aca6SThierry RedingLIB	= $(obj)lib$(BOARD).o
33*4026aca6SThierry Reding
34*4026aca6SThierry RedingCOBJS	:= $(BOARD).o
35*4026aca6SThierry RedingCOBJS	+= ../common/tamonten.o
36*4026aca6SThierry Reding
37*4026aca6SThierry RedingSRCS	:= $(COBJS:.o=.c)
38*4026aca6SThierry RedingOBJS	:= $(addprefix $(obj),$(COBJS))
39*4026aca6SThierry Reding
40*4026aca6SThierry Reding$(LIB):	$(obj).depend $(OBJS)
41*4026aca6SThierry Reding	$(call cmd_link_o_target, $(OBJS))
42*4026aca6SThierry Reding
43*4026aca6SThierry Reding#########################################################################
44*4026aca6SThierry Reding
45*4026aca6SThierry Reding# defines $(obj).depend target
46*4026aca6SThierry Redinginclude $(SRCTREE)/rules.mk
47*4026aca6SThierry Reding
48*4026aca6SThierry Redingsinclude $(obj).depend
49*4026aca6SThierry Reding
50*4026aca6SThierry Reding#########################################################################
51