blob: a01a27deaa02a8417eb9721de35611539175338e [file] [log] [blame]
Fabio Estevam419adbf2011-09-06 09:05:43 +00001#
2# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
3#
4# (C) Copyright 2011 Freescale Semiconductor, Inc.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Fabio Estevam419adbf2011-09-06 09:05:43 +00007#
8
9include $(TOPDIR)/config.mk
10
11LIB = $(obj)lib$(BOARD).o
12
13COBJS := mx25pdk.o
14SOBJS := lowlevel_init.o
15
16SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS))
18SOBJS := $(addprefix $(obj),$(SOBJS))
19
20$(LIB): $(obj).depend $(OBJS) $(SOBJS)
21 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
22
Fabio Estevam419adbf2011-09-06 09:05:43 +000023#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################