blob: 7920b01b49ec46b1a9c969b21ba1194606949a9a [file] [log] [blame]
Mark Jonas35a398a2008-03-10 11:37:10 +01001#
2# Copyright (C) 2007
3# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
4#
5# Copyright (C) 2007
6# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7#
8# Copyright (C) 2007
9# Kenati Technologies, Inc.
10#
11# (C) Copyright 2008
12# Mark Jonas <mark.jonas@de.bosch.com>
13#
14# board/mpr2/Makefile
15#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020016# SPDX-License-Identifier: GPL-2.0+
Mark Jonas35a398a2008-03-10 11:37:10 +010017
18include $(TOPDIR)/config.mk
19
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020LIB = $(obj)lib$(BOARD).o
Mark Jonas35a398a2008-03-10 11:37:10 +010021
Nobuhiro Iwamatsu01213252008-07-08 12:03:24 +090022COBJS := mpr2.o
Mark Jonas35a398a2008-03-10 11:37:10 +010023SOBJS := lowlevel_init.o
24
Wolfgang Denk102740d2008-07-02 23:38:50 +020025SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
26OBJS := $(addprefix $(obj),$(COBJS))
27SOBJS := $(addprefix $(obj),$(SOBJS))
28
Mark Jonas35a398a2008-03-10 11:37:10 +010029$(LIB): $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010030 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Mark Jonas35a398a2008-03-10 11:37:10 +010031
Mark Jonas35a398a2008-03-10 11:37:10 +010032#########################################################################
33
Wolfgang Denk102740d2008-07-02 23:38:50 +020034# defines $(obj).depend target
35include $(SRCTREE)/rules.mk
Mark Jonas35a398a2008-03-10 11:37:10 +010036
Wolfgang Denk102740d2008-07-02 23:38:50 +020037sinclude $(obj).depend
Mark Jonas35a398a2008-03-10 11:37:10 +010038
39#########################################################################