1*b9a1ef21SChander Kashyap# 2*b9a1ef21SChander Kashyap# Copyright (C) 2011 Samsung Electronics 3*b9a1ef21SChander Kashyap# 4*b9a1ef21SChander Kashyap# See file CREDITS for list of people who contributed to this 5*b9a1ef21SChander Kashyap# project. 6*b9a1ef21SChander Kashyap# 7*b9a1ef21SChander Kashyap# This program is free software; you can redistribute it and/or 8*b9a1ef21SChander Kashyap# modify it under the terms of the GNU General Public License as 9*b9a1ef21SChander Kashyap# published by the Free Software Foundation; either version 2 of 10*b9a1ef21SChander Kashyap# the License, or (at your option) any later version. 11*b9a1ef21SChander Kashyap# 12*b9a1ef21SChander Kashyap# This program is distributed in the hope that it will be useful, 13*b9a1ef21SChander Kashyap# but WITHOUT ANY WARRANTY; without even the implied warranty of 14*b9a1ef21SChander Kashyap# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*b9a1ef21SChander Kashyap# GNU General Public License for more details. 16*b9a1ef21SChander Kashyap# 17*b9a1ef21SChander Kashyap# You should have received a copy of the GNU General Public License 18*b9a1ef21SChander Kashyap# along with this program; if not, write to the Free Software 19*b9a1ef21SChander Kashyap# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20*b9a1ef21SChander Kashyap# MA 02111-1307 USA 21*b9a1ef21SChander Kashyap# 22*b9a1ef21SChander Kashyap 23*b9a1ef21SChander Kashyapinclude $(TOPDIR)/config.mk 24*b9a1ef21SChander Kashyap 25*b9a1ef21SChander KashyapLIB = $(obj)lib$(BOARD).o 26*b9a1ef21SChander Kashyap 27*b9a1ef21SChander KashyapSOBJS := mem_setup.o 28*b9a1ef21SChander KashyapSOBJS += lowlevel_init.o 29*b9a1ef21SChander KashyapCOBJS += origen.o 30*b9a1ef21SChander Kashyap 31*b9a1ef21SChander KashyapSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 32*b9a1ef21SChander KashyapOBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) 33*b9a1ef21SChander Kashyap 34*b9a1ef21SChander Kashyapall: $(obj).depend $(LIB) 35*b9a1ef21SChander Kashyap 36*b9a1ef21SChander Kashyap$(LIB): $(OBJS) 37*b9a1ef21SChander Kashyap $(AR) $(ARFLAGS) $@ $(OBJS) 38*b9a1ef21SChander Kashyap 39*b9a1ef21SChander Kashyap######################################################################### 40*b9a1ef21SChander Kashyap 41*b9a1ef21SChander Kashyap# defines $(obj).depend target 42*b9a1ef21SChander Kashyapinclude $(SRCTREE)/rules.mk 43*b9a1ef21SChander Kashyap 44*b9a1ef21SChander Kashyapsinclude $(obj).depend 45*b9a1ef21SChander Kashyap 46*b9a1ef21SChander Kashyap######################################################################### 47