]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/sh/cpu/sh2/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / sh / cpu / sh2 / Makefile
CommitLineData
6ad43d0d
NI
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#
1a459660 8# SPDX-License-Identifier: GPL-2.0+
6ad43d0d
NI
9#
10
11include $(TOPDIR)/config.mk
12
6d8962e8 13LIB = $(obj)lib$(CPU).o
6ad43d0d 14
a5b04d00
KB
15SOBJS = start.o
16COBJS = cpu.o interrupts.o watchdog.o
6ad43d0d 17
a5b04d00
KB
18SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS))
20SOBJS := $(addprefix $(obj),$(SOBJS))
6ad43d0d 21
a5b04d00 22$(LIB): $(OBJS) $(SOBJS)
6d8962e8 23 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
6ad43d0d 24
a5b04d00 25#########################################################################
6ad43d0d
NI
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################