]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm926ejs/Makefile
Merge branch 'u-boot/master' into u-boot-arm/master
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9
10 LIB     = $(obj)lib$(CPU).o
11
12 START   = start.o
13 COBJS   = cpu.o cache.o
14
15 ifdef   CONFIG_SPL_BUILD
16 ifdef   CONFIG_SPL_NO_CPU_SUPPORT_CODE
17 START   :=
18 endif
19 endif
20
21 SRCS    := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
22 OBJS    := $(addprefix $(obj),$(COBJS) $(SOBJS))
23 START   := $(addprefix $(obj),$(START))
24
25 all:    $(obj).depend $(START) $(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 #########################################################################