blob: 7920b01b49ec46b1a9c969b21ba1194606949a9a [file] [log] [blame]
Mark Jonas3313e0e2008-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 Denk1a459662013-07-08 09:37:19 +020016# SPDX-License-Identifier: GPL-2.0+
Mark Jonas3313e0e2008-03-10 11:37:10 +010017
18include $(TOPDIR)/config.mk
19
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010020LIB = $(obj)lib$(BOARD).o
Mark Jonas3313e0e2008-03-10 11:37:10 +010021
Nobuhiro Iwamatsu9e23fe02008-07-08 12:03:24 +090022COBJS := mpr2.o
Mark Jonas3313e0e2008-03-10 11:37:10 +010023SOBJS := lowlevel_init.o
24
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020025SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
26OBJS := $(addprefix $(obj),$(COBJS))
27SOBJS := $(addprefix $(obj),$(SOBJS))
28
Mark Jonas3313e0e2008-03-10 11:37:10 +010029$(LIB): $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010030 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Mark Jonas3313e0e2008-03-10 11:37:10 +010031
Mark Jonas3313e0e2008-03-10 11:37:10 +010032#########################################################################
33
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020034# defines $(obj).depend target
35include $(SRCTREE)/rules.mk
Mark Jonas3313e0e2008-03-10 11:37:10 +010036
Wolfgang Denka30cc5a2008-07-02 23:38:50 +020037sinclude $(obj).depend
Mark Jonas3313e0e2008-03-10 11:37:10 +010038
39#########################################################################