1852bd07cSMinkyu Kang#
2852bd07cSMinkyu Kang# Copyright (C) 2009 Samsung Electronics
3852bd07cSMinkyu Kang# Minkyu Kang <mk7.kang@samsung.com>
4852bd07cSMinkyu Kang#
5852bd07cSMinkyu Kang# See file CREDITS for list of people who contributed to this
6852bd07cSMinkyu Kang# project.
7852bd07cSMinkyu Kang#
8852bd07cSMinkyu Kang# This program is free software; you can redistribute it and/or
9852bd07cSMinkyu Kang# modify it under the terms of the GNU General Public License as
10852bd07cSMinkyu Kang# published by the Free Software Foundation; either version 2 of
11852bd07cSMinkyu Kang# the License, or (at your option) any later version.
12852bd07cSMinkyu Kang#
13852bd07cSMinkyu Kang# This program is distributed in the hope that it will be useful,
14852bd07cSMinkyu Kang# but WITHOUT ANY WARRANTY; without even the implied warranty of
15852bd07cSMinkyu Kang# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16852bd07cSMinkyu Kang# GNU General Public License for more details.
17852bd07cSMinkyu Kang#
18852bd07cSMinkyu Kang# You should have received a copy of the GNU General Public License
19852bd07cSMinkyu Kang# along with this program; if not, write to the Free Software
20852bd07cSMinkyu Kang# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21852bd07cSMinkyu Kang# MA 02111-1307 USA
22852bd07cSMinkyu Kang#
23852bd07cSMinkyu Kang
24852bd07cSMinkyu Kanginclude $(TOPDIR)/config.mk
25852bd07cSMinkyu Kang
266d8962e8SSebastien CarlierLIB	= $(obj)libs5p-common.o
27852bd07cSMinkyu Kang
28852bd07cSMinkyu KangCOBJS-y		+= cpu_info.o
29852bd07cSMinkyu KangCOBJS-y		+= timer.o
30*b0ad8621SChander KashyapCOBJS-y		+= sromc.o
313f129280SDonghwa LeeCOBJS-$(CONFIG_PWM)	+= pwm.o
32852bd07cSMinkyu Kang
33852bd07cSMinkyu KangSRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
34852bd07cSMinkyu KangOBJS	:= $(addprefix $(obj),$(COBJS-y) $(SOBJS))
35852bd07cSMinkyu Kang
36852bd07cSMinkyu Kangall:	 $(obj).depend $(LIB)
37852bd07cSMinkyu Kang
38852bd07cSMinkyu Kang$(LIB):	$(OBJS)
396d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
40852bd07cSMinkyu Kang
41852bd07cSMinkyu Kang#########################################################################
42852bd07cSMinkyu Kang
43852bd07cSMinkyu Kang# defines $(obj).depend target
44852bd07cSMinkyu Kanginclude $(SRCTREE)/rules.mk
45852bd07cSMinkyu Kang
46852bd07cSMinkyu Kangsinclude $(obj).depend
47852bd07cSMinkyu Kang
48852bd07cSMinkyu Kang#########################################################################
49