1*4b0730d2SSimon Glass# 2*4b0730d2SSimon Glass# Copyright (c) 2011 The Chromium OS Authors. 3*4b0730d2SSimon Glass# 4*4b0730d2SSimon Glass# (C) Copyright 2000-2003 5*4b0730d2SSimon Glass# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 6*4b0730d2SSimon Glass# 7*4b0730d2SSimon Glass# See file CREDITS for list of people who contributed to this 8*4b0730d2SSimon Glass# project. 9*4b0730d2SSimon Glass# 10*4b0730d2SSimon Glass# This program is free software; you can redistribute it and/or 11*4b0730d2SSimon Glass# modify it under the terms of the GNU General Public License as 12*4b0730d2SSimon Glass# published by the Free Software Foundation; either version 2 of 13*4b0730d2SSimon Glass# the License, or (at your option) any later version. 14*4b0730d2SSimon Glass# 15*4b0730d2SSimon Glass# This program is distributed in the hope that it will be useful, 16*4b0730d2SSimon Glass# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*4b0730d2SSimon Glass# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*4b0730d2SSimon Glass# GNU General Public License for more details. 19*4b0730d2SSimon Glass# 20*4b0730d2SSimon Glass# You should have received a copy of the GNU General Public License 21*4b0730d2SSimon Glass# along with this program; if not, write to the Free Software 22*4b0730d2SSimon Glass# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 23*4b0730d2SSimon Glass# MA 02111-1307 USA 24*4b0730d2SSimon Glass# 25*4b0730d2SSimon Glass 26*4b0730d2SSimon Glassinclude $(TOPDIR)/config.mk 27*4b0730d2SSimon Glass 28*4b0730d2SSimon GlassLIB = $(obj)lib$(CPU).o 29*4b0730d2SSimon Glass 30*4b0730d2SSimon GlassCOBJS := cpu.o 31*4b0730d2SSimon Glass 32*4b0730d2SSimon GlassSRCS := $(COBJS:.o=.c) 33*4b0730d2SSimon GlassOBJS := $(addprefix $(obj),$(COBJS)) 34*4b0730d2SSimon Glass 35*4b0730d2SSimon Glassall: $(obj).depend $(LIB) 36*4b0730d2SSimon Glass 37*4b0730d2SSimon Glass$(LIB): $(OBJS) 38*4b0730d2SSimon Glass $(call cmd_link_o_target, $(OBJS)) 39*4b0730d2SSimon Glass 40*4b0730d2SSimon Glass######################################################################### 41*4b0730d2SSimon Glass 42*4b0730d2SSimon Glass# defines $(obj).depend target 43*4b0730d2SSimon Glassinclude $(SRCTREE)/rules.mk 44*4b0730d2SSimon Glass 45*4b0730d2SSimon Glasssinclude $(obj).depend 46*4b0730d2SSimon Glass 47*4b0730d2SSimon Glass######################################################################### 48