blob: 8d133e24a07bcd8cbed9cf6f146a4462b490f88e [file] [log] [blame]
Stefan Roesea5d182e2007-08-14 14:44:41 +02001#
2# (C) Copyright 2007
3# Stefan Roese, DENX Software Engineering, sr@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Stefan Roesea5d182e2007-08-14 14:44:41 +02006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Stefan Roesea5d182e2007-08-14 14:44:41 +020011
12COBJS = $(BOARD).o update.o
13SOBJS =
14
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Stefan Roesea5d182e2007-08-14 14:44:41 +020021
Stefan Roesea5d182e2007-08-14 14:44:41 +020022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################