]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/sh/cpu/sh3/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / arch / sh / cpu / sh3 / Makefile
CommitLineData
f9913a8e
YS
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2007
6# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7#
8# (C) Copyright 2007
9# Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
10#
1a459660 11# SPDX-License-Identifier: GPL-2.0+
f9913a8e
YS
12#
13
14include $(TOPDIR)/config.mk
15
6d8962e8 16LIB = $(obj)lib$(CPU).o
f9913a8e 17
a30cc5a3 18SOBJS = start.o
e9d5f354 19COBJS = cpu.o interrupts.o watchdog.o cache.o
f9913a8e 20
a30cc5a3
WD
21SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS))
23SOBJS := $(addprefix $(obj),$(SOBJS))
f9913a8e 24
a30cc5a3 25$(LIB): $(OBJS) $(SOBJS)
6d8962e8 26 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
a30cc5a3 27
f9913a8e
YS
28#########################################################################
29
a30cc5a3
WD
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
f9913a8e 32
a30cc5a3 33sinclude $(obj).depend
f9913a8e
YS
34
35#########################################################################