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 TyserCOBJS = interrupts.o cpu.o 1484ad6884SPeter Tyser 1584ad6884SPeter TyserSRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) 1684ad6884SPeter TyserOBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) 1784ad6884SPeter TyserSTART := $(addprefix $(obj),$(START)) 1884ad6884SPeter Tyser 1984ad6884SPeter Tyserall: $(obj).depend $(START) $(LIB) 2084ad6884SPeter Tyser 2184ad6884SPeter Tyser$(LIB): $(OBJS) 226d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 2384ad6884SPeter Tyser 2484ad6884SPeter Tyser######################################################################### 2584ad6884SPeter Tyser 2684ad6884SPeter Tyser# defines $(obj).depend target 2784ad6884SPeter Tyserinclude $(SRCTREE)/rules.mk 2884ad6884SPeter Tyser 2984ad6884SPeter Tysersinclude $(obj).depend 3084ad6884SPeter Tyser 3184ad6884SPeter Tyser######################################################################### 32