blob: 257cdd21e46e3a79c555251c321fd07ff3d8f6e8 [file] [log] [blame]
John Rigby6895d452010-01-25 23:12:58 -07001#
2# (C) Copyright 2009 DENX Software Engineering
3# Author: John Rigby <jcrigby@gmail.com>
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
John Rigby6895d452010-01-25 23:12:58 -07006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
John Rigby6895d452010-01-25 23:12:58 -070011
Benoît Thébaudeauda962b72013-04-11 09:35:51 +000012ifdef CONFIG_SPL_BUILD
John Rigby6895d452010-01-25 23:12:58 -070013SOBJS := lowlevel_init.o
Benoît Thébaudeauda962b72013-04-11 09:35:51 +000014endif
15COBJS := tx25.o
John Rigby6895d452010-01-25 23:12:58 -070016
17SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18OBJS := $(addprefix $(obj),$(COBJS))
19SOBJS := $(addprefix $(obj),$(SOBJS))
20
21$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010022 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
John Rigby6895d452010-01-25 23:12:58 -070023
John Rigby6895d452010-01-25 23:12:58 -070024#########################################################################
25
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################