2008-05-08 16:52:23 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2003-2008
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2008
|
2011-10-31 23:00:39 +00:00
|
|
|
# Stelian Pop <stelian@popies.net>
|
2008-05-08 16:52:23 +00:00
|
|
|
# Lead Tech Design <www.leadtechdesign.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-05-08 16:52:23 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2008-05-08 16:52:23 +00:00
|
|
|
|
|
|
|
COBJS-y += at91sam9263ek.o
|
|
|
|
COBJS-y += led.o
|
2009-03-21 20:08:01 +00:00
|
|
|
COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
|
2008-05-08 16:52:23 +00:00
|
|
|
|
2009-06-13 10:48:36 +00:00
|
|
|
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
|
2008-05-08 16:52:23 +00:00
|
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
2009-06-13 10:48:36 +00:00
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS-y))
|
2008-05-08 16:52:23 +00:00
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
2008-05-08 16:52:23 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|