133b1d3f4SDaniel Gorsulowski# 233b1d3f4SDaniel Gorsulowski# (C) Copyright 2003-2008 333b1d3f4SDaniel Gorsulowski# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 433b1d3f4SDaniel Gorsulowski# 533b1d3f4SDaniel Gorsulowski# (C) Copyright 2008 6*c9e798d3SStelian Pop# Stelian Pop <stelian@popies.net> 733b1d3f4SDaniel Gorsulowski# Lead Tech Design <www.leadtechdesign.com> 833b1d3f4SDaniel Gorsulowski# 933b1d3f4SDaniel Gorsulowski# See file CREDITS for list of people who contributed to this 1033b1d3f4SDaniel Gorsulowski# project. 1133b1d3f4SDaniel Gorsulowski# 1233b1d3f4SDaniel Gorsulowski# This program is free software; you can redistribute it and/or 1333b1d3f4SDaniel Gorsulowski# modify it under the terms of the GNU General Public License as 1433b1d3f4SDaniel Gorsulowski# published by the Free Software Foundation; either version 2 of 1533b1d3f4SDaniel Gorsulowski# the License, or (at your option) any later version. 1633b1d3f4SDaniel Gorsulowski# 1733b1d3f4SDaniel Gorsulowski# This program is distributed in the hope that it will be useful, 1833b1d3f4SDaniel Gorsulowski# but WITHOUT ANY WARRANTY; without even the implied warranty of 1933b1d3f4SDaniel Gorsulowski# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2033b1d3f4SDaniel Gorsulowski# GNU General Public License for more details. 2133b1d3f4SDaniel Gorsulowski# 2233b1d3f4SDaniel Gorsulowski# You should have received a copy of the GNU General Public License 2333b1d3f4SDaniel Gorsulowski# along with this program; if not, write to the Free Software 2433b1d3f4SDaniel Gorsulowski# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 2533b1d3f4SDaniel Gorsulowski# MA 02111-1307 USA 2633b1d3f4SDaniel Gorsulowski# 2733b1d3f4SDaniel Gorsulowski 2833b1d3f4SDaniel Gorsulowskiinclude $(TOPDIR)/config.mk 2933b1d3f4SDaniel Gorsulowski 306d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 3133b1d3f4SDaniel Gorsulowski 3233b1d3f4SDaniel GorsulowskiCOBJS-y += $(BOARD).o 3333b1d3f4SDaniel GorsulowskiCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o 3433b1d3f4SDaniel Gorsulowski 3533b1d3f4SDaniel GorsulowskiSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 3633b1d3f4SDaniel GorsulowskiOBJS := $(addprefix $(obj),$(COBJS-y)) 3733b1d3f4SDaniel GorsulowskiSOBJS := $(addprefix $(obj),$(SOBJS)) 3833b1d3f4SDaniel Gorsulowski 3933b1d3f4SDaniel Gorsulowski$(LIB): $(obj).depend $(OBJS) $(SOBJS) 406d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 4133b1d3f4SDaniel Gorsulowski 4233b1d3f4SDaniel Gorsulowski######################################################################### 4333b1d3f4SDaniel Gorsulowski 4433b1d3f4SDaniel Gorsulowski# defines $(obj).depend target 4533b1d3f4SDaniel Gorsulowskiinclude $(SRCTREE)/rules.mk 4633b1d3f4SDaniel Gorsulowski 4733b1d3f4SDaniel Gorsulowskisinclude $(obj).depend 4833b1d3f4SDaniel Gorsulowski 4933b1d3f4SDaniel Gorsulowski######################################################################### 50