184ad6884SPeter Tyser# 284ad6884SPeter Tyser# (C) Copyright 2000-2006 384ad6884SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 484ad6884SPeter Tyser# 584ad6884SPeter Tyser# (C) Copyright 2008 684ad6884SPeter Tyser# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de> 784ad6884SPeter Tyser# 8*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 984ad6884SPeter Tyser# 1084ad6884SPeter Tyser 1184ad6884SPeter Tyserinclude $(TOPDIR)/config.mk 1284ad6884SPeter Tyser 136d8962e8SSebastien CarlierLIB = $(obj)lib$(CPU).o 1484ad6884SPeter Tyser 1584ad6884SPeter TyserSTART = start.o 1684ad6884SPeter TyserCOBJS = cpu.o 1784ad6884SPeter Tyser 1884ad6884SPeter TyserSRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) 1984ad6884SPeter TyserOBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) 2084ad6884SPeter TyserSTART := $(addprefix $(obj),$(START)) 2184ad6884SPeter Tyser 2284ad6884SPeter Tyserall: $(obj).depend $(START) $(LIB) 2384ad6884SPeter Tyser 2484ad6884SPeter Tyser$(LIB): $(OBJS) 256d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 2684ad6884SPeter Tyser 2784ad6884SPeter Tyser######################################################################### 2884ad6884SPeter Tyser 2984ad6884SPeter Tyser# defines $(obj).depend target 3084ad6884SPeter Tyserinclude $(SRCTREE)/rules.mk 3184ad6884SPeter Tyser 3284ad6884SPeter Tysersinclude $(obj).depend 3384ad6884SPeter Tyser 3484ad6884SPeter Tyser######################################################################### 35