Nobuhiro Iwamatsu | af2db2c | 2012-05-09 15:59:30 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> |
| 3 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | af2db2c | 2012-05-09 15:59:30 +0900 | [diff] [blame] | 5 | |
| 6 | include $(TOPDIR)/config.mk |
| 7 | |
| 8 | LIB = $(obj)lib$(BOARD).o |
| 9 | |
| 10 | COBJS := ap_sh4a_4a.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 | ######################################################################### |