]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sh/cpu/sh2/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / sh / cpu / sh2 / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # Copyright (C) 2007,2008 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6 # Copyright (C) 2008 Renesas Solutions Corp.
7 #
8 # SPDX-License-Identifier:      GPL-2.0+
9 #
10
11 include $(TOPDIR)/config.mk
12
13 LIB     = $(obj)lib$(CPU).o
14
15 SOBJS   = start.o
16 COBJS   = cpu.o interrupts.o watchdog.o
17
18 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19 OBJS    := $(addprefix $(obj),$(COBJS))
20 SOBJS   := $(addprefix $(obj),$(SOBJS))
21
22 $(LIB): $(OBJS) $(SOBJS)
23         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
24
25 #########################################################################
26
27 # defines $(obj).depend target
28 include $(SRCTREE)/rules.mk
29
30 sinclude $(obj).depend
31
32 #########################################################################