]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/openrisc/cpu/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / openrisc / cpu / Makefile
CommitLineData
272f84bb
SK
1#
2# (C) Copyright 2011
3# Julius Baxter <julius@opencores.org>
4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
272f84bb
SK
6#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(CPU).o
11
12START = start.o
13COBJS-y = cache.o cpu.o exceptions.o interrupts.o
14
15SRCS := $(START:.o=.S) $(COBJS-y:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS-y))
17START := $(addprefix $(obj),$(START))
18
19all: $(obj).depend $(START) $(LIB)
20
21$(LIB): $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################