blob: 0597d0fc5e97dfeba18d32e3849a2492dbb4ed4a [file] [log] [blame]
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +09001#########################################################################
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 Denk1a459662013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +09009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +090014
15COBJS := ap325rxa.o cpld-ap325rxa.o
16SOBJS := lowlevel_init.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS))
20SOBJS := $(addprefix $(obj),$(SOBJS))
21
22$(LIB): $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010023 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +090024
Nobuhiro Iwamatsu6f0da492008-08-22 17:39:09 +090025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################