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