blob: baa067d9dff55fcd06013462f0a38a9c19d93c95 [file] [log] [blame]
Daniel Hellstrom6ed8a432008-03-26 23:38:48 +01001
2#
3# (C) Copyright 2003-2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Daniel Hellstrom6ed8a432008-03-26 23:38:48 +01007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Daniel Hellstrom6ed8a432008-03-26 23:38: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 Carlier6d8962e2010-11-05 15:48:07 +010021 $(call cmd_link_o_target, $(OBJS))
Daniel Hellstrom6ed8a432008-03-26 23:38:48 +010022
Daniel Hellstrom6ed8a432008-03-26 23:38:48 +010023#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################