18449f287SMagnus Lilja# 28449f287SMagnus Lilja# (C) Copyright 2008 Magnus Lilja <lilja.magnus@gmail.com> 38449f287SMagnus Lilja# 48449f287SMagnus Lilja# (C) Copyright 2000-2006 58449f287SMagnus Lilja# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 68449f287SMagnus Lilja# 78449f287SMagnus Lilja# See file CREDITS for list of people who contributed to this 88449f287SMagnus Lilja# project. 98449f287SMagnus Lilja# 108449f287SMagnus Lilja# This program is free software; you can redistribute it and/or 118449f287SMagnus Lilja# modify it under the terms of the GNU General Public License as 128449f287SMagnus Lilja# published by the Free Software Foundation; either version 2 of 138449f287SMagnus Lilja# the License, or (at your option) any later version. 148449f287SMagnus Lilja# 158449f287SMagnus Lilja# This program is distributed in the hope that it will be useful, 168449f287SMagnus Lilja# but WITHOUT ANY WARRANTY; without even the implied warranty of 178449f287SMagnus Lilja# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 188449f287SMagnus Lilja# GNU General Public License for more details. 198449f287SMagnus Lilja# 208449f287SMagnus Lilja# You should have received a copy of the GNU General Public License 218449f287SMagnus Lilja# along with this program; if not, write to the Free Software 228449f287SMagnus Lilja# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 238449f287SMagnus Lilja# MA 02111-1307 USA 248449f287SMagnus Lilja# 258449f287SMagnus Lilja 268449f287SMagnus Liljainclude $(TOPDIR)/config.mk 278449f287SMagnus Lilja 286d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 298449f287SMagnus Lilja 30*da962b71SBenoît Thébaudeauifdef CONFIG_SPL_BUILD 31*da962b71SBenoît ThébaudeauSOBJS := lowlevel_init.o 32*da962b71SBenoît Thébaudeauendif 338449f287SMagnus LiljaCOBJS := mx31pdk.o 348449f287SMagnus Lilja 358449f287SMagnus LiljaSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 368449f287SMagnus LiljaOBJS := $(addprefix $(obj),$(COBJS)) 378449f287SMagnus LiljaSOBJS := $(addprefix $(obj),$(SOBJS)) 388449f287SMagnus Lilja 398449f287SMagnus Lilja$(LIB): $(obj).depend $(OBJS) $(SOBJS) 406d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 418449f287SMagnus Lilja 428449f287SMagnus Lilja######################################################################### 438449f287SMagnus Lilja 448449f287SMagnus Lilja# defines $(obj).depend target 458449f287SMagnus Liljainclude $(SRCTREE)/rules.mk 468449f287SMagnus Lilja 478449f287SMagnus Liljasinclude $(obj).depend 488449f287SMagnus Lilja 498449f287SMagnus Lilja######################################################################### 50