blob: 89ae01f81607eb6536944779977eeed81a6aec1e [file] [log] [blame]
wdenk4989f872004-03-14 15:06:13 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenk4989f872004-03-14 15:06:13 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk4989f872004-03-14 15:06:13 +00006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
wdenk4989f872004-03-14 15:06:13 +000011
Jean-Christophe PLAGNIOL-VILLARD6ebf7e92009-05-02 11:53:50 +020012COBJS := versatile.o
Wolfgang Denk7f88a5e2005-10-06 17:08:18 +020013SOBJS := lowlevel_init.o
wdenk4989f872004-03-14 15:06:13 +000014
Marian Balakowiczd62379d2006-09-01 19:49:50 +020015SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
wdenk4989f872004-03-14 15:06:13 +000021
wdenk4989f872004-03-14 15:06:13 +000022#########################################################################
23
Marian Balakowiczd62379d2006-09-01 19:49:50 +020024# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
wdenk4989f872004-03-14 15:06:13 +000026
Marian Balakowiczd62379d2006-09-01 19:49:50 +020027sinclude $(obj).depend
wdenk4989f872004-03-14 15:06:13 +000028
29#########################################################################