]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/zynq/Makefile
Merge 'u-boot-microblaze/zynq' into (u-boot-arm/master'
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / zynq / Makefile
1 #
2 # (C) Copyright 2000-2003
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2008
6 # Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
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-y := timer.o
16 COBJS-y += cpu.o
17 COBJS-y += ddrc.o
18 COBJS-y += slcr.o
19
20 COBJS   := $(COBJS-y)
21
22 SRCS    := $(COBJS:.o=.c)
23 OBJS    := $(addprefix $(obj),$(COBJS))
24
25 all:    $(obj).depend $(LIB)
26
27 $(LIB): $(OBJS)
28         $(call cmd_link_o_target, $(OBJS))
29
30 #########################################################################
31
32 # defines $(obj).depend target
33 include $(SRCTREE)/rules.mk
34
35 sinclude $(obj).depend
36
37 #########################################################################