xref: /rk3399_rockchip-uboot/board/freescale/mpc8349itx/Makefile (revision 2b4c952be7c4357a13e839d48df80853820c33eb)
1e58fe957SKim Phillips#
2e58fe957SKim Phillips# Copyright (C) Freescale Semiconductor, Inc. 2006. All rights reserved.
3e58fe957SKim Phillips#
4e58fe957SKim Phillips# See file CREDITS for list of people who contributed to this
5e58fe957SKim Phillips# project.
6e58fe957SKim Phillips#
7e58fe957SKim Phillips# This program is free software; you can redistribute it and/or
8e58fe957SKim Phillips# modify it under the terms of the GNU General Public License as
9e58fe957SKim Phillips# published by the Free Software Foundation; either version 2 of
10e58fe957SKim Phillips# the License, or (at your option) any later version.
11e58fe957SKim Phillips#
12e58fe957SKim Phillips# This program is distributed in the hope that it will be useful,
13e58fe957SKim Phillips# but WITHOUT ANY WARRANTY; without even the implied warranty of
14e58fe957SKim Phillips# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15e58fe957SKim Phillips# GNU General Public License for more details.
16e58fe957SKim Phillips#
17e58fe957SKim Phillips# You should have received a copy of the GNU General Public License
18e58fe957SKim Phillips# along with this program; if not, write to the Free Software
19e58fe957SKim Phillips# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20e58fe957SKim Phillips# MA 02111-1307 USA
21e58fe957SKim Phillips#
22e58fe957SKim Phillips
23e58fe957SKim Phillipsinclude $(TOPDIR)/config.mk
24e58fe957SKim Phillips
25e58fe957SKim PhillipsLIB	= $(obj)lib$(BOARD).a
26e58fe957SKim Phillips
27e58fe957SKim PhillipsCOBJS	:= $(BOARD).o pci.o
28e58fe957SKim Phillips
29e58fe957SKim PhillipsSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
30e58fe957SKim PhillipsOBJS	:= $(addprefix $(obj),$(COBJS))
31e58fe957SKim PhillipsSOBJS	:= $(addprefix $(obj),$(SOBJS))
32e58fe957SKim Phillips
33e58fe957SKim Phillips$(LIB):	$(obj).depend $(OBJS)
34*2b4c952bSKumar Gala	$(AR) $(ARFLAGS) $@ $(OBJS)
35e58fe957SKim Phillips
36e58fe957SKim Phillipsclean:
37e58fe957SKim Phillips	rm -f $(SOBJS) $(OBJS)
38e58fe957SKim Phillips
39e58fe957SKim Phillipsdistclean:	clean
40e58fe957SKim Phillips	rm -f $(LIB) core *.bak .depend
41e58fe957SKim Phillips
42e58fe957SKim Phillips#########################################################################
43e58fe957SKim Phillips
44e58fe957SKim Phillipsinclude $(SRCTREE)/rules.mk
45e58fe957SKim Phillips
46e58fe957SKim Phillipssinclude $(obj).depend
47e58fe957SKim Phillips
48e58fe957SKim Phillips#########################################################################
49