]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/Makefile
ARM: add secure monitor handler to switch to non-secure state
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / Makefile
1 #
2 # (C) Copyright 2000-2003
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
14 COBJS   += cache_v7.o
15
16 COBJS   += cpu.o
17 COBJS   += syslib.o
18
19 ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_TI81XX),)
20 SOBJS   += lowlevel_init.o
21 endif
22
23 ifneq ($(CONFIG_ARMV7_NONSEC),)
24 SOBJS   += nonsec_virt.o
25 endif
26
27 SRCS    := $(START:.o=.S) $(COBJS:.o=.c)
28 OBJS    := $(addprefix $(obj),$(COBJS) $(SOBJS))
29 START   := $(addprefix $(obj),$(START))
30
31 all:    $(obj).depend $(START) $(LIB)
32
33 $(LIB): $(OBJS)
34         $(call cmd_link_o_target, $(OBJS))
35
36 #########################################################################
37
38 # defines $(obj).depend target
39 include $(SRCTREE)/rules.mk
40
41 sinclude $(obj).depend
42
43 #########################################################################