1# 2# (C) Copyright 2003-2008 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# (C) Copyright 2008 6# Stelian Pop <stelian@popies.net> 7# Lead Tech Design <www.leadtechdesign.com> 8# 9# (C) Copyright 2013 10# Bo Shen <voice.shen@atmel.com> 11# 12# SPDX-License-Identifier: GPL-2.0+ 13# 14 15include $(TOPDIR)/config.mk 16 17LIB = $(obj)lib$(BOARD).o 18 19COBJS-y += sama5d3xek.o 20 21SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 22OBJS := $(addprefix $(obj),$(COBJS-y)) 23SOBJS := $(addprefix $(obj),$(SOBJS)) 24 25$(LIB): $(obj).depend $(OBJS) $(SOBJS) 26 $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 27 28######################################################################### 29 30# defines $(obj).depend target 31include $(SRCTREE)/rules.mk 32 33sinclude $(obj).depend 34 35######################################################################### 36