xref: /rk3399_rockchip-uboot/board/sbc8548/Makefile (revision 11c45ebd46d6517b51b7a92dd52a618b2f4e5586)
1*11c45ebdSJoe Hamman#
2*11c45ebdSJoe Hamman# (C) Copyright 2004-2006
3*11c45ebdSJoe Hamman# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*11c45ebdSJoe Hamman#
5*11c45ebdSJoe Hamman# (C) Copyright 2004 Wind River Systems Inc <www.windriver.com>.
6*11c45ebdSJoe Hamman# Added support for Wind River SBC8560 board
7*11c45ebdSJoe Hamman#
8*11c45ebdSJoe Hamman# See file CREDITS for list of people who contributed to this
9*11c45ebdSJoe Hamman# project.
10*11c45ebdSJoe Hamman#
11*11c45ebdSJoe Hamman# This program is free software; you can redistribute it and/or
12*11c45ebdSJoe Hamman# modify it under the terms of the GNU General Public License as
13*11c45ebdSJoe Hamman# published by the Free Software Foundation; either version 2 of
14*11c45ebdSJoe Hamman# the License, or (at your option) any later version.
15*11c45ebdSJoe Hamman#
16*11c45ebdSJoe Hamman# This program is distributed in the hope that it will be useful,
17*11c45ebdSJoe Hamman# but WITHOUT ANY WARRANTY; without even the implied warranty of
18*11c45ebdSJoe Hamman# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*11c45ebdSJoe Hamman# GNU General Public License for more details.
20*11c45ebdSJoe Hamman#
21*11c45ebdSJoe Hamman# You should have received a copy of the GNU General Public License
22*11c45ebdSJoe Hamman# along with this program; if not, write to the Free Software
23*11c45ebdSJoe Hamman# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24*11c45ebdSJoe Hamman# MA 02111-1307 USA
25*11c45ebdSJoe Hamman#
26*11c45ebdSJoe Hamman
27*11c45ebdSJoe Hammaninclude $(TOPDIR)/config.mk
28*11c45ebdSJoe Hamman
29*11c45ebdSJoe HammanLIB	= $(obj)lib$(BOARD).a
30*11c45ebdSJoe Hamman
31*11c45ebdSJoe HammanCOBJS	:= $(BOARD).o
32*11c45ebdSJoe HammanSOBJS	:= init.o
33*11c45ebdSJoe Hamman#SOBJS	:=
34*11c45ebdSJoe Hamman
35*11c45ebdSJoe HammanSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
36*11c45ebdSJoe HammanOBJS	:= $(addprefix $(obj),$(COBJS))
37*11c45ebdSJoe HammanSOBJS	:= $(addprefix $(obj),$(SOBJS))
38*11c45ebdSJoe Hamman
39*11c45ebdSJoe Hamman$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
40*11c45ebdSJoe Hamman	$(AR) $(ARFLAGS) $@ $(OBJS)
41*11c45ebdSJoe Hamman
42*11c45ebdSJoe Hammanclean:
43*11c45ebdSJoe Hamman	rm -f $(OBJS) $(SOBJS)
44*11c45ebdSJoe Hamman
45*11c45ebdSJoe Hammandistclean:	clean
46*11c45ebdSJoe Hamman	rm -f $(LIB) core *.bak .depend
47*11c45ebdSJoe Hamman
48*11c45ebdSJoe Hamman#########################################################################
49*11c45ebdSJoe Hamman
50*11c45ebdSJoe Hamman# defines $(obj).depend target
51*11c45ebdSJoe Hammaninclude $(SRCTREE)/rules.mk
52*11c45ebdSJoe Hamman
53*11c45ebdSJoe Hammansinclude $(obj).depend
54*11c45ebdSJoe Hamman
55*11c45ebdSJoe Hamman#########################################################################
56