blob: 986e495c702b7773dadd392191647d3a2252bc66 [file] [log] [blame]
Vipin KUMARcc0da712010-01-15 19:15:53 +05301#
2# (C) Copyright 2000-2004
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Vipin KUMARcc0da712010-01-15 19:15:53 +05306#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Vipin KUMARcc0da712010-01-15 19:15:53 +053011
12COBJS := spear320.o
13SOBJS :=
14
15SRCS := $(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))
Vipin KUMARcc0da712010-01-15 19:15:53 +053021
Vipin KUMARcc0da712010-01-15 19:15:53 +053022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################