blob: 81482e30da8ed1aca699e721b598285be0e652f0 [file] [log] [blame]
Marek Vasutebc827e2012-08-07 00:01:52 +00001#
2# (C) Copyright 2000-2012
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Marek Vasutebc827e2012-08-07 00:01:52 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12ifndef CONFIG_SPL_BUILD
13COBJS := sc_sps_1.o
14else
15COBJS := spl_boot.o
16endif
17
18SRCS := $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS))
20
21$(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################