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