]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/sh/cpu/sh3/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / arch / sh / cpu / sh3 / Makefile
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 #
11 # SPDX-License-Identifier: GPL-2.0+
12 #
13
14 include $(TOPDIR)/config.mk
15
16 LIB = $(obj)lib$(CPU).o
17
18 SOBJS = start.o
19 COBJS = cpu.o interrupts.o watchdog.o cache.o
20
21 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22 OBJS := $(addprefix $(obj),$(COBJS))
23 SOBJS := $(addprefix $(obj),$(SOBJS))
24
25 $(LIB): $(OBJS) $(SOBJS)
26 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
27
28 #########################################################################
29
30 # defines $(obj).depend target
31 include $(SRCTREE)/rules.mk
32
33 sinclude $(obj).depend
34
35 #########################################################################