1080cfee7SVipin KUMAR# 2080cfee7SVipin KUMAR# (C) Copyright 2000-2004 3080cfee7SVipin KUMAR# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4080cfee7SVipin KUMAR# 5*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 6080cfee7SVipin KUMAR# 7080cfee7SVipin KUMAR 8080cfee7SVipin KUMARinclude $(TOPDIR)/config.mk 9080cfee7SVipin KUMAR 106d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 11080cfee7SVipin KUMAR 12080cfee7SVipin KUMARCOBJS := spear310.o 13080cfee7SVipin KUMARSOBJS := 14080cfee7SVipin KUMAR 15080cfee7SVipin KUMARSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 16080cfee7SVipin KUMAROBJS := $(addprefix $(obj),$(COBJS)) 17080cfee7SVipin KUMARSOBJS := $(addprefix $(obj),$(SOBJS)) 18080cfee7SVipin KUMAR 19080cfee7SVipin KUMAR$(LIB): $(obj).depend $(OBJS) $(SOBJS) 206d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 21080cfee7SVipin KUMAR 22080cfee7SVipin KUMAR######################################################################### 23080cfee7SVipin KUMAR 24080cfee7SVipin KUMAR# defines $(obj).depend target 25080cfee7SVipin KUMARinclude $(SRCTREE)/rules.mk 26080cfee7SVipin KUMAR 27080cfee7SVipin KUMARsinclude $(obj).depend 28080cfee7SVipin KUMAR 29080cfee7SVipin KUMAR######################################################################### 30