blob: fdb53d34171f18fea449125bb4a18958653193a3 [file] [log] [blame]
Stelian Pop8e429b32008-05-08 18:52:23 +02001#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
Stelian Popc9e798d2011-11-01 00:00:39 +01006# Stelian Pop <stelian@popies.net>
Stelian Pop8e429b32008-05-08 18:52:23 +02007# Lead Tech Design <www.leadtechdesign.com>
8#
Wolfgang Denk1a459662013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Stelian Pop8e429b32008-05-08 18:52:23 +020010#
11
12include $(TOPDIR)/config.mk
13
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
Stelian Pop8e429b32008-05-08 18:52:23 +020015
16COBJS-y += at91sam9263ek.o
17COBJS-y += led.o
Jean-Christophe PLAGNIOL-VILLARD16396602009-03-21 21:08:01 +010018COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
Stelian Pop8e429b32008-05-08 18:52:23 +020019
Jean-Christophe PLAGNIOL-VILLARD1b3b7c62009-06-13 12:48:36 +020020SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
Stelian Pop8e429b32008-05-08 18:52:23 +020021OBJS := $(addprefix $(obj),$(COBJS-y))
Jean-Christophe PLAGNIOL-VILLARD1b3b7c62009-06-13 12:48:36 +020022SOBJS := $(addprefix $(obj),$(SOBJS-y))
Stelian Pop8e429b32008-05-08 18:52:23 +020023
24$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010025 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Stelian Pop8e429b32008-05-08 18:52:23 +020026
Stelian Pop8e429b32008-05-08 18:52:23 +020027#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################