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