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