]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/omap-common/Makefile
i.MX6: Set and clear the gating bits for Phase Fractional Dividers
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / 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)libomap-common.o
11
12 COBJS   := reset.o
13 COBJS   += timer.o
14 COBJS   += utils.o
15
16 ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
17 COBJS   += hwinit-common.o
18 COBJS   += clocks-common.o
19 COBJS   += emif-common.o
20 COBJS   += vc.o
21 COBJS   += abb.o
22 endif
23
24 ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TI814X),)
25 COBJS   += boot-common.o
26 SOBJS   += lowlevel_init.o
27 endif
28
29 ifndef CONFIG_SPL_BUILD
30 ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
31 COBJS   += mem-common.o
32 endif
33 endif
34
35 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
36 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS))
37
38 all:    $(obj).depend $(LIB)
39
40 $(LIB): $(OBJS)
41         $(call cmd_link_o_target, $(OBJS))
42
43 #########################################################################
44
45 # defines $(obj).depend target
46 include $(SRCTREE)/rules.mk
47
48 sinclude $(obj).depend
49
50 #########################################################################