]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/Makefile
zynq: Enable axi ethernet and emaclite driver initialization
[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_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_TI814X),)
20 SOBJS   += lowlevel_init.o
21 endif
22
23 SRCS    := $(START:.o=.S) $(COBJS:.o=.c)
24 OBJS    := $(addprefix $(obj),$(COBJS) $(SOBJS))
25 START   := $(addprefix $(obj),$(START))
26
27 all:    $(obj).depend $(START) $(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 #########################################################################