1#
2# (C) Copyright 2008 Magnus Lilja <lilja.magnus@gmail.com>
3#
4# (C) Copyright 2000-2006
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
7# SPDX-License-Identifier:	GPL-2.0+
8#
9
10include $(TOPDIR)/config.mk
11
12LIB	= $(obj)lib$(BOARD).o
13
14ifdef CONFIG_SPL_BUILD
15SOBJS	:= lowlevel_init.o
16endif
17COBJS	:= mx31pdk.o
18
19SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
20OBJS	:= $(addprefix $(obj),$(COBJS))
21SOBJS	:= $(addprefix $(obj),$(SOBJS))
22
23$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
24	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
25
26#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################
34