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