]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/at91/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / at91 / Makefile
1 #
2 # (C) Copyright 2000-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2013
6 # Bo Shen <voice.shen@atmel.com>
7 #
8 # SPDX-License-Identifier:      GPL-2.0+
9 #
10
11 include $(TOPDIR)/config.mk
12
13 LIB     = $(obj)lib$(SOC).o
14
15 COBJS-$(CONFIG_SAMA5D3) += sama5d3_devices.o
16 COBJS-y += clock.o
17 COBJS-y += cpu.o
18 COBJS-y += reset.o
19 COBJS-y += timer.o
20
21 SRCS    := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22 OBJS    := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
23
24 all:    $(obj).depend $(LIB)
25
26 $(LIB): $(OBJS)
27         $(call cmd_link_o_target, $(OBJS))
28
29 #########################################################################
30
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
33
34 sinclude $(obj).depend
35
36 #########################################################################