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