18f0fec74SPeter Tyser# 28f0fec74SPeter Tyser# (C) Copyright 2000-2006 38f0fec74SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 48f0fec74SPeter Tyser# 58f0fec74SPeter Tyser# (C) Copyright 2007 68f0fec74SPeter Tyser# Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 78f0fec74SPeter Tyser# 88f0fec74SPeter Tyser# (C) Copyright 2007 98f0fec74SPeter Tyser# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> 108f0fec74SPeter Tyser# 11*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 128f0fec74SPeter Tyser# 138f0fec74SPeter Tyser 148f0fec74SPeter Tyserinclude $(TOPDIR)/config.mk 158f0fec74SPeter Tyser 166d8962e8SSebastien CarlierLIB = $(obj)lib$(CPU).o 178f0fec74SPeter Tyser 188f0fec74SPeter TyserSOBJS = start.o 198f0fec74SPeter TyserCOBJS = cpu.o interrupts.o watchdog.o cache.o 208f0fec74SPeter Tyser 218f0fec74SPeter TyserSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 228f0fec74SPeter TyserOBJS := $(addprefix $(obj),$(COBJS)) 238f0fec74SPeter TyserSOBJS := $(addprefix $(obj),$(SOBJS)) 248f0fec74SPeter Tyser 258f0fec74SPeter Tyser$(LIB): $(OBJS) $(SOBJS) 266d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 278f0fec74SPeter Tyser 288f0fec74SPeter Tyser######################################################################### 298f0fec74SPeter Tyser 308f0fec74SPeter Tyser# defines $(obj).depend target 318f0fec74SPeter Tyserinclude $(SRCTREE)/rules.mk 328f0fec74SPeter Tyser 338f0fec74SPeter Tysersinclude $(obj).depend 348f0fec74SPeter Tyser 358f0fec74SPeter Tyser######################################################################### 36