blob: dcf926c75ba6b951259c3b6dec025f386d3f08e2 [file] [log] [blame]
Sergey Lapin77e524c2008-10-31 12:28:43 +01001#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
Stelian Pop5ee0c7f2011-11-01 00:00:39 +01006# Stelian Pop <stelian@popies.net>
Sergey Lapin77e524c2008-10-31 12:28:43 +01007# Lead Tech Design <www.leadtechdesign.com>
8#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Sergey Lapin77e524c2008-10-31 12:28:43 +010010#
11
12include $(TOPDIR)/config.mk
13
Sebastien Carliera8d426f2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
Sergey Lapin77e524c2008-10-31 12:28:43 +010015
16COBJS-y += afeb9260.o
17COBJS-y += partition.o
Sergey Lapin77e524c2008-10-31 12:28:43 +010018
19SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS-y))
21SOBJS := $(addprefix $(obj),$(SOBJS))
22
23$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Sergey Lapin77e524c2008-10-31 12:28:43 +010025
Sergey Lapin77e524c2008-10-31 12:28:43 +010026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################