1*f9727161SMarek Vasut# 2*f9727161SMarek Vasut# (C) Copyright 2000-2006 3*f9727161SMarek Vasut# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*f9727161SMarek Vasut# 5*f9727161SMarek Vasut# SPDX-License-Identifier: GPL-2.0+ 6*f9727161SMarek Vasut# 7*f9727161SMarek Vasut 8*f9727161SMarek Vasutinclude $(TOPDIR)/config.mk 9*f9727161SMarek Vasut 10*f9727161SMarek VasutLIB = $(obj)lib$(BOARD).o 11*f9727161SMarek Vasut 12*f9727161SMarek Vasutifndef CONFIG_SPL_BUILD 13*f9727161SMarek VasutCOBJS := bg0900.o 14*f9727161SMarek Vasutelse 15*f9727161SMarek VasutCOBJS := spl_boot.o 16*f9727161SMarek Vasutendif 17*f9727161SMarek Vasut 18*f9727161SMarek VasutSRCS := $(COBJS:.o=.c) 19*f9727161SMarek VasutOBJS := $(addprefix $(obj),$(COBJS)) 20*f9727161SMarek Vasut 21*f9727161SMarek Vasut$(LIB): $(obj).depend $(OBJS) 22*f9727161SMarek Vasut $(call cmd_link_o_target, $(OBJS)) 23*f9727161SMarek Vasut 24*f9727161SMarek Vasut######################################################################### 25*f9727161SMarek Vasut 26*f9727161SMarek Vasut# defines $(obj).depend target 27*f9727161SMarek Vasutinclude $(SRCTREE)/rules.mk 28*f9727161SMarek Vasut 29*f9727161SMarek Vasutsinclude $(obj).depend 30*f9727161SMarek Vasut 31*f9727161SMarek Vasut######################################################################### 32