blob: 01e7de121071fa9ad91c61add20e761722f50fb9 [file] [log] [blame]
Otavio Salvador81ca8402013-01-23 10:30:34 +00001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Otavio Salvador81ca8402013-01-23 10:30:34 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12ifndef CONFIG_SPL_BUILD
13COBJS := mx23evk.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#########################################################################