xref: /rk3399_rockchip-uboot/board/boundary/nitrogen6x/Makefile (revision d67b0d97b156f9ec2fc4c838d84b1e510d6e49b4)
1*d67b0d97SEric Nelson#
2*d67b0d97SEric Nelson# Copyright (C) 2012-2013, Guennadi Liakhovetski <lg@denx.de>
3*d67b0d97SEric Nelson# (C) Copyright 2012-2013 Freescale Semiconductor, Inc.
4*d67b0d97SEric Nelson# Copyright (C) 2013, Boundary Devices <info@boundarydevices.com>
5*d67b0d97SEric Nelson#
6*d67b0d97SEric Nelson# This program is free software; you can redistribute it and/or
7*d67b0d97SEric Nelson# modify it under the terms of the GNU General Public License as
8*d67b0d97SEric Nelson# published by the Free Software Foundation; either version 2 of
9*d67b0d97SEric Nelson# the License, or (at your option) any later version.
10*d67b0d97SEric Nelson#
11*d67b0d97SEric Nelson# This program is distributed in the hope that it will be useful,
12*d67b0d97SEric Nelson# but WITHOUT ANY WARRANTY; without even the implied warranty of
13*d67b0d97SEric Nelson# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*d67b0d97SEric Nelson# GNU General Public License for more details.
15*d67b0d97SEric Nelson#
16*d67b0d97SEric Nelson# You should have received a copy of the GNU General Public License
17*d67b0d97SEric Nelson# along with this program; if not, write to the Free Software
18*d67b0d97SEric Nelson# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19*d67b0d97SEric Nelson# MA 02111-1307 USA
20*d67b0d97SEric Nelson#
21*d67b0d97SEric Nelson
22*d67b0d97SEric Nelsoninclude $(TOPDIR)/config.mk
23*d67b0d97SEric Nelson
24*d67b0d97SEric NelsonLIB    = $(obj)lib$(BOARD).o
25*d67b0d97SEric Nelson
26*d67b0d97SEric NelsonCOBJS  := nitrogen6x.o
27*d67b0d97SEric Nelson
28*d67b0d97SEric NelsonSRCS   := $(COBJS:.o=.c)
29*d67b0d97SEric NelsonOBJS   := $(addprefix $(obj),$(COBJS))
30*d67b0d97SEric Nelson
31*d67b0d97SEric Nelson$(LIB):        $(obj).depend $(OBJS)
32*d67b0d97SEric Nelson	$(call cmd_link_o_target, $(OBJS))
33*d67b0d97SEric Nelson
34*d67b0d97SEric Nelson#########################################################################
35*d67b0d97SEric Nelson
36*d67b0d97SEric Nelson# defines $(obj).depend target
37*d67b0d97SEric Nelsoninclude $(SRCTREE)/rules.mk
38*d67b0d97SEric Nelson
39*d67b0d97SEric Nelsonsinclude $(obj).depend
40*d67b0d97SEric Nelson
41*d67b0d97SEric Nelson#########################################################################
42