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