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