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