1ea0364f1SPeter Tyser# 2ea0364f1SPeter Tyser# (C) Copyright 2003-2006 3ea0364f1SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4ea0364f1SPeter Tyser# 5*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 6ea0364f1SPeter Tyser# 7ea0364f1SPeter Tyser 8ea0364f1SPeter Tyserinclude $(TOPDIR)/config.mk 9ea0364f1SPeter Tyser 106d8962e8SSebastien CarlierLIB = $(obj)lib$(ARCH).o 11ea0364f1SPeter Tyser 12ea0364f1SPeter TyserSOBJS-y += 13ea0364f1SPeter Tyser 14ea0364f1SPeter TyserCOBJS-y += board.o 15b8eee435SDirk EibachCOBJS-$(CONFIG_CMD_BOOTM) += bootm.o 162281ba51SDavid HolsgroveCOBJS-y += muldi3.o 17ea0364f1SPeter Tyser 18ea0364f1SPeter TyserSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 19ea0364f1SPeter TyserOBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) 20ea0364f1SPeter Tyser 21ea0364f1SPeter Tyser$(LIB): $(obj).depend $(OBJS) 226d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 23ea0364f1SPeter Tyser 24ea0364f1SPeter Tyser######################################################################### 25ea0364f1SPeter Tyser 26ea0364f1SPeter Tyser# defines $(obj).depend target 27ea0364f1SPeter Tyserinclude $(SRCTREE)/rules.mk 28ea0364f1SPeter Tyser 29ea0364f1SPeter Tysersinclude $(obj).depend 30ea0364f1SPeter Tyser 31ea0364f1SPeter Tyser######################################################################### 32