Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 1 | # |
| 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 Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 16 | # SPDX-License-Identifier: GPL-2.0+ |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 17 | |
| 18 | include $(TOPDIR)/config.mk |
| 19 | |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 20 | LIB = $(obj)lib$(BOARD).o |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 21 | |
Nobuhiro Iwamatsu | 9e23fe0 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 22 | COBJS := mpr2.o |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 23 | SOBJS := lowlevel_init.o |
| 24 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 25 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 26 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 27 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 28 | |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 29 | $(LIB): $(OBJS) $(SOBJS) |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 30 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 31 | |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 32 | ######################################################################### |
| 33 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 34 | # defines $(obj).depend target |
| 35 | include $(SRCTREE)/rules.mk |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 36 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 37 | sinclude $(obj).depend |
Mark Jonas | 3313e0e | 2008-03-10 11:37:10 +0100 | [diff] [blame] | 38 | |
| 39 | ######################################################################### |