]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/orion5x/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / orion5x / Makefile
1 #
2 # Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
3 #
4 # Based on original Kirkwood support which is
5 # (C) Copyright 2009
6 # Marvell Semiconductor <www.marvell.com>
7 # Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8 #
9 # SPDX-License-Identifier:      GPL-2.0+
10 #
11
12 include $(TOPDIR)/config.mk
13
14 LIB     = $(obj)lib$(SOC).o
15
16 COBJS-y = cpu.o
17 COBJS-y += dram.o
18 COBJS-y += timer.o
19
20 ifndef CONFIG_SKIP_LOWLEVEL_INIT
21 SOBJS   := lowlevel_init.o
22 endif
23
24 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
25 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
26
27 all:    $(obj).depend $(LIB)
28
29 $(LIB): $(OBJS)
30         $(call cmd_link_o_target, $(OBJS))
31
32 #########################################################################
33
34 # defines $(obj).depend target
35 include $(SRCTREE)/rules.mk
36
37 sinclude $(obj).depend
38
39 #########################################################################