1e58fe957SKim Phillips# 2e58fe957SKim Phillips# (C) Copyright 2006 3e58fe957SKim Phillips# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4e58fe957SKim Phillips# 5*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 6e58fe957SKim Phillips# 7e58fe957SKim Phillips 8e58fe957SKim Phillipsinclude $(TOPDIR)/config.mk 9e58fe957SKim Phillips 106d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 11e58fe957SKim Phillips 12e58fe957SKim PhillipsCOBJS := $(BOARD).o sdram.o 13e58fe957SKim Phillips 14e58fe957SKim PhillipsSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 15e58fe957SKim PhillipsOBJS := $(addprefix $(obj),$(COBJS)) 16e58fe957SKim PhillipsSOBJS := $(addprefix $(obj),$(SOBJS)) 17e58fe957SKim Phillips 18e58fe957SKim Phillips$(LIB): $(obj).depend $(OBJS) 196d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 20e58fe957SKim Phillips 21e58fe957SKim Phillips######################################################################### 22e58fe957SKim Phillips 23e58fe957SKim Phillips# defines $(obj).depend target 24e58fe957SKim Phillipsinclude $(SRCTREE)/rules.mk 25e58fe957SKim Phillips 26e58fe957SKim Phillipssinclude $(obj).depend 27e58fe957SKim Phillips 28e58fe957SKim Phillips######################################################################### 29