blob: c735e359c37fa917a7e2d7a9f35bde976d053c55 [file] [log] [blame]
Marek Vasut64a93862013-01-12 07:11:11 +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+
Marek Vasut64a93862013-01-12 07:11:11 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12ifndef CONFIG_SPL_BUILD
13COBJS := mx23_olinuxino.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#########################################################################