18bc4ee9eSMinkyu Kang# 28bc4ee9eSMinkyu Kang# (C) Copyright 2000, 2001, 2002 38bc4ee9eSMinkyu Kang# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 48bc4ee9eSMinkyu Kang# 58bc4ee9eSMinkyu Kang# (C) Copyright 2008 68bc4ee9eSMinkyu Kang# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> 78bc4ee9eSMinkyu Kang# 88bc4ee9eSMinkyu Kang# See file CREDITS for list of people who contributed to this 98bc4ee9eSMinkyu Kang# project. 108bc4ee9eSMinkyu Kang# 118bc4ee9eSMinkyu Kang# This program is free software; you can redistribute it and/or 128bc4ee9eSMinkyu Kang# modify it under the terms of the GNU General Public License as 138bc4ee9eSMinkyu Kang# published by the Free Software Foundation; either version 2 of 148bc4ee9eSMinkyu Kang# the License, or (at your option) any later version. 158bc4ee9eSMinkyu Kang# 168bc4ee9eSMinkyu Kang# This program is distributed in the hope that it will be useful, 178bc4ee9eSMinkyu Kang# but WITHOUT ANY WARRANTY; without even the implied warranty of 188bc4ee9eSMinkyu Kang# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 198bc4ee9eSMinkyu Kang# GNU General Public License for more details. 208bc4ee9eSMinkyu Kang# 218bc4ee9eSMinkyu Kang# You should have received a copy of the GNU General Public License 228bc4ee9eSMinkyu Kang# along with this program; if not, write to the Free Software 238bc4ee9eSMinkyu Kang# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 248bc4ee9eSMinkyu Kang# MA 02111-1307 USA 258bc4ee9eSMinkyu Kang# 268bc4ee9eSMinkyu Kang 278bc4ee9eSMinkyu Kanginclude $(TOPDIR)/config.mk 288bc4ee9eSMinkyu Kang 29*6d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 308bc4ee9eSMinkyu Kang 318bc4ee9eSMinkyu KangCOBJS-y := smdkc100.o 328bc4ee9eSMinkyu KangCOBJS-$(CONFIG_SAMSUNG_ONENAND) += onenand.o 338bc4ee9eSMinkyu KangSOBJS := lowlevel_init.o 348bc4ee9eSMinkyu Kang 358bc4ee9eSMinkyu KangSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 368bc4ee9eSMinkyu KangOBJS := $(addprefix $(obj),$(COBJS-y)) 378bc4ee9eSMinkyu KangSOBJS := $(addprefix $(obj),$(SOBJS)) 388bc4ee9eSMinkyu Kang 398bc4ee9eSMinkyu Kang$(LIB): $(obj).depend $(SOBJS) $(OBJS) 40*6d8962e8SSebastien Carlier $(call cmd_link_o_target, $(SOBJS) $(OBJS)) 418bc4ee9eSMinkyu Kang 428bc4ee9eSMinkyu Kangclean: 438bc4ee9eSMinkyu Kang rm -f $(SOBJS) $(OBJS) 448bc4ee9eSMinkyu Kang 458bc4ee9eSMinkyu Kangdistclean: clean 468bc4ee9eSMinkyu Kang rm -f $(LIB) core *.bak $(obj).depend 478bc4ee9eSMinkyu Kang 488bc4ee9eSMinkyu Kang######################################################################### 498bc4ee9eSMinkyu Kang 508bc4ee9eSMinkyu Kang# defines $(obj).depend target 518bc4ee9eSMinkyu Kanginclude $(SRCTREE)/rules.mk 528bc4ee9eSMinkyu Kang 538bc4ee9eSMinkyu Kangsinclude $(obj).depend 548bc4ee9eSMinkyu Kang 558bc4ee9eSMinkyu Kang######################################################################### 56