1ce9c227cSAlbert Aribaud# 2*57b4bce9SAlbert ARIBAUD# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net> 3ce9c227cSAlbert Aribaud# 4ce9c227cSAlbert Aribaud# Based on original Kirkwood support which is 5ce9c227cSAlbert Aribaud# (C) Copyright 2009 6ce9c227cSAlbert Aribaud# Marvell Semiconductor <www.marvell.com> 7ce9c227cSAlbert Aribaud# Written-by: Prafulla Wadaskar <prafulla@marvell.com> 8ce9c227cSAlbert Aribaud# 9ce9c227cSAlbert Aribaud# See file CREDITS for list of people who contributed to this 10ce9c227cSAlbert Aribaud# project. 11ce9c227cSAlbert Aribaud# 12ce9c227cSAlbert Aribaud# This program is free software; you can redistribute it and/or 13ce9c227cSAlbert Aribaud# modify it under the terms of the GNU General Public License as 14ce9c227cSAlbert Aribaud# published by the Free Software Foundation; either version 2 of 15ce9c227cSAlbert Aribaud# the License, or (at your option) any later version. 16ce9c227cSAlbert Aribaud# 17ce9c227cSAlbert Aribaud# This program is distributed in the hope that it will be useful, 18ce9c227cSAlbert Aribaud# but WITHOUT ANY WARRANTY; without even the implied warranty of 19ce9c227cSAlbert Aribaud# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20ce9c227cSAlbert Aribaud# GNU General Public License for more details. 21ce9c227cSAlbert Aribaud# 22ce9c227cSAlbert Aribaud# You should have received a copy of the GNU General Public License 23ce9c227cSAlbert Aribaud# along with this program; if not, write to the Free Software 24ce9c227cSAlbert Aribaud# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 25ce9c227cSAlbert Aribaud# MA 02110-1301 USA 26ce9c227cSAlbert Aribaud# 27ce9c227cSAlbert Aribaud 28ce9c227cSAlbert Aribaudinclude $(TOPDIR)/config.mk 29ce9c227cSAlbert Aribaud 306d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 31ce9c227cSAlbert Aribaud 32ce9c227cSAlbert AribaudCOBJS := edminiv2.o 33ce9c227cSAlbert Aribaud 34ce9c227cSAlbert AribaudSRCS := $(COBJS:.o=.c) 35ce9c227cSAlbert AribaudOBJS := $(addprefix $(obj),$(COBJS)) 36ce9c227cSAlbert Aribaud 37ce9c227cSAlbert Aribaud$(LIB): $(obj).depend $(OBJS) 386d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 39ce9c227cSAlbert Aribaud 40ce9c227cSAlbert Aribaudclean: 41ce9c227cSAlbert Aribaud rm -f $(OBJS) 42ce9c227cSAlbert Aribaud 43ce9c227cSAlbert Aribauddistclean: clean 44ce9c227cSAlbert Aribaud rm -f $(LIB) core *.bak .depend 45ce9c227cSAlbert Aribaud 46ce9c227cSAlbert Aribaud######################################################################### 47ce9c227cSAlbert Aribaud 48ce9c227cSAlbert Aribaud# defines $(obj).depend target 49ce9c227cSAlbert Aribaudinclude $(SRCTREE)/rules.mk 50ce9c227cSAlbert Aribaud 51ce9c227cSAlbert Aribaudsinclude $(obj).depend 52ce9c227cSAlbert Aribaud 53ce9c227cSAlbert Aribaud######################################################################### 54