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