blob: baa067d9dff55fcd06013462f0a38a9c19d93c95 [file] [log] [blame]
Daniel Hellstroma2d96db2008-03-26 23:26:48 +01001
2#
3# (C) Copyright 2003-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Daniel Hellstroma2d96db2008-03-26 23:26:48 +01007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carliera8d426f2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Daniel Hellstroma2d96db2008-03-26 23:26:48 +010012
13COBJS := $(BOARD).o
14
15#flash.o
16SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS))
18SOBJS := $(addprefix $(obj),$(SOBJS))
19
20$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010021 $(call cmd_link_o_target, $(OBJS))
Daniel Hellstroma2d96db2008-03-26 23:26:48 +010022
Daniel Hellstroma2d96db2008-03-26 23:26:48 +010023#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################