Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2008 Renesas Solutions Corp. |
| 3 | # Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
| 4 | # Copyright (C) 2007 Kenati Technologies, Inc. |
| 5 | # |
| 6 | # board/sh7763rdp/Makefile |
| 7 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 9 | # |
| 10 | |
| 11 | include $(TOPDIR)/config.mk |
| 12 | |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 13 | LIB = $(obj)lib$(BOARD).o |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 14 | |
Nobuhiro Iwamatsu | 9e23fe0 | 2008-07-08 12:03:24 +0900 | [diff] [blame] | 15 | COBJS := sh7763rdp.o |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 16 | SOBJS := lowlevel_init.o |
| 17 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 18 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 19 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 20 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 21 | |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 22 | $(LIB): $(OBJS) $(SOBJS) |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 23 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 24 | |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 25 | ######################################################################### |
| 26 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 27 | # defines $(obj).depend target |
| 28 | include $(SRCTREE)/rules.mk |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 29 | |
Wolfgang Denk | a30cc5a | 2008-07-02 23:38:50 +0200 | [diff] [blame] | 30 | sinclude $(obj).depend |
Nobuhiro Iwamatsu | 7faddae | 2008-06-09 13:39:57 +0900 | [diff] [blame] | 31 | |
| 32 | ######################################################################### |