]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/nds32/lib/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / nds32 / lib / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # Copyright (C) 2011 Andes Technology Corporation
6 # Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
7 # Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
8 #
9 # SPDX-License-Identifier:      GPL-2.0+
10 #
11
12 include $(TOPDIR)/config.mk
13
14 LIB     = $(obj)lib$(ARCH).o
15
16 OBJS    := board.o cache.o interrupts.o
17 COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
18
19 all:    $(LIB)
20
21 $(LIB): $(OBJS) $(SOBJS)
22         $(call cmd_link_o_target, $(OBJS))
23
24 #########################################################################
25
26 # defines $(obj).depend target
27 include $(SRCTREE)/rules.mk
28
29 sinclude $(obj).depend
30
31 #########################################################################