xref: /openbmc/u-boot/arch/arm/cpu/arm720t/Makefile (revision 6d8962e8)
184ad6884SPeter Tyser#
284ad6884SPeter Tyser# (C) Copyright 2000-2006
384ad6884SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
484ad6884SPeter Tyser#
584ad6884SPeter Tyser# See file CREDITS for list of people who contributed to this
684ad6884SPeter Tyser# project.
784ad6884SPeter Tyser#
884ad6884SPeter Tyser# This program is free software; you can redistribute it and/or
984ad6884SPeter Tyser# modify it under the terms of the GNU General Public License as
1084ad6884SPeter Tyser# published by the Free Software Foundation; either version 2 of
1184ad6884SPeter Tyser# the License, or (at your option) any later version.
1284ad6884SPeter Tyser#
1384ad6884SPeter Tyser# This program is distributed in the hope that it will be useful,
1484ad6884SPeter Tyser# but WITHOUT ANY WARRANTY; without even the implied warranty of
1584ad6884SPeter Tyser# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1684ad6884SPeter Tyser# GNU General Public License for more details.
1784ad6884SPeter Tyser#
1884ad6884SPeter Tyser# You should have received a copy of the GNU General Public License
1984ad6884SPeter Tyser# along with this program; if not, write to the Free Software
2084ad6884SPeter Tyser# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2184ad6884SPeter Tyser# MA 02111-1307 USA
2284ad6884SPeter Tyser#
2384ad6884SPeter Tyser
2484ad6884SPeter Tyserinclude $(TOPDIR)/config.mk
2584ad6884SPeter Tyser
26*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(CPU).o
2784ad6884SPeter Tyser
2884ad6884SPeter TyserSTART	= start.o
2984ad6884SPeter TyserCOBJS	= interrupts.o cpu.o
3084ad6884SPeter Tyser
3184ad6884SPeter TyserSRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
3284ad6884SPeter TyserOBJS	:= $(addprefix $(obj),$(COBJS) $(SOBJS))
3384ad6884SPeter TyserSTART	:= $(addprefix $(obj),$(START))
3484ad6884SPeter Tyser
3584ad6884SPeter Tyserall:	$(obj).depend $(START) $(LIB)
3684ad6884SPeter Tyser
3784ad6884SPeter Tyser$(LIB):	$(OBJS)
38*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
3984ad6884SPeter Tyser
4084ad6884SPeter Tyser#########################################################################
4184ad6884SPeter Tyser
4284ad6884SPeter Tyser# defines $(obj).depend target
4384ad6884SPeter Tyserinclude $(SRCTREE)/rules.mk
4484ad6884SPeter Tyser
4584ad6884SPeter Tysersinclude $(obj).depend
4684ad6884SPeter Tyser
4784ad6884SPeter Tyser#########################################################################
48