blob: 870314a168227b61948fab3442d133111ab49f2a [file] [log] [blame]
Sergey Kubushync74b2102007-08-10 20:26:18 +02001#
2# (C) Copyright 2000, 2001, 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Sergey Kubushync74b2102007-08-10 20:26:18 +02008#
9
10include $(TOPDIR)/config.mk
11
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010012LIB = $(obj)lib$(BOARD).o
Sergey Kubushync74b2102007-08-10 20:26:18 +020013
Hugo Villeneuve89d51d02008-08-27 21:35:52 +020014COBJS := $(BOARD).o
Sergey Kubushync74b2102007-08-10 20:26:18 +020015SOBJS := board_init.o
16
17SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18OBJS := $(addprefix $(obj),$(COBJS))
19SOBJS := $(addprefix $(obj),$(SOBJS))
20
21$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010022 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Sergey Kubushync74b2102007-08-10 20:26:18 +020023
Sergey Kubushync74b2102007-08-10 20:26:18 +020024#########################################################################
25# This is for $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################