18ca805e1SNobuhiro Iwamatsu# 28ca805e1SNobuhiro Iwamatsu# Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> 38ca805e1SNobuhiro Iwamatsu# 4*1a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 58ca805e1SNobuhiro Iwamatsu 68ca805e1SNobuhiro Iwamatsuinclude $(TOPDIR)/config.mk 78ca805e1SNobuhiro Iwamatsu 88ca805e1SNobuhiro IwamatsuLIB = $(obj)lib$(BOARD).o 98ca805e1SNobuhiro Iwamatsu 108ca805e1SNobuhiro IwamatsuCOBJS := r0p7734.o 118ca805e1SNobuhiro IwamatsuSOBJS := lowlevel_init.o 128ca805e1SNobuhiro Iwamatsu 138ca805e1SNobuhiro IwamatsuSRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) 148ca805e1SNobuhiro IwamatsuOBJS := $(addprefix $(obj),$(COBJS)) 158ca805e1SNobuhiro IwamatsuSOBJS := $(addprefix $(obj),$(SOBJS)) 168ca805e1SNobuhiro Iwamatsu 178ca805e1SNobuhiro Iwamatsu$(LIB): $(obj).depend $(OBJS) $(SOBJS) 188ca805e1SNobuhiro Iwamatsu $(call cmd_link_o_target, $(OBJS) $(SOBJS)) 198ca805e1SNobuhiro Iwamatsu 208ca805e1SNobuhiro Iwamatsu######################################################################### 218ca805e1SNobuhiro Iwamatsu 228ca805e1SNobuhiro Iwamatsu# defines $(obj).depend target 238ca805e1SNobuhiro Iwamatsuinclude $(SRCTREE)/rules.mk 248ca805e1SNobuhiro Iwamatsu 258ca805e1SNobuhiro Iwamatsusinclude $(obj).depend 268ca805e1SNobuhiro Iwamatsu 278ca805e1SNobuhiro Iwamatsu######################################################################### 28