blob: b6c70b01e7f47ec2ddbb51646370d6fbd9b2a5e6 [file] [log] [blame]
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +02001#
2# Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de>
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +02005#
6
7include $(TOPDIR)/config.mk
8
Sebastien Carliera8d426f2010-11-05 15:48:07 +01009LIB = $(obj)lib$(BOARD).o
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +020010
11COBJS := mx31ads.o
12SOBJS := lowlevel_init.o
13
14SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16SOBJS := $(addprefix $(obj),$(SOBJS))
17
18$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010019 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +020020
Guennadi Liakhovetski3b26c6b2008-04-14 10:53:12 +020021#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################