Nobuhiro Iwamatsu | 6d1d5cf | 2011-11-15 12:29:06 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 3 | # Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 6d1d5cf | 2011-11-15 12:29:06 +0900 | [diff] [blame] | 6 | |
| 7 | |
| 8 | include $(TOPDIR)/config.mk |
| 9 | |
| 10 | LIB = $(obj)lib$(BOARD).o |
| 11 | |
| 12 | COBJS := ecovec.o |
| 13 | SOBJS := lowlevel_init.o |
| 14 | |
Phil Edworthy | 75d7984 | 2012-03-16 05:37:09 +0000 | [diff] [blame] | 15 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 16 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 17 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 18 | |
| 19 | $(LIB): $(OBJS) $(SOBJS) |
| 20 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Nobuhiro Iwamatsu | 6d1d5cf | 2011-11-15 12:29:06 +0900 | [diff] [blame] | 21 | |
| 22 | ######################################################################### |
| 23 | |
| 24 | # defines $(obj).depend target |
| 25 | include $(SRCTREE)/rules.mk |
| 26 | |
| 27 | sinclude $(obj).depend |
| 28 | |
| 29 | ######################################################################### |