]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/am33xx/Makefile
merged tx6dl-devel into denx master branch
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / am33xx / Makefile
1 #
2 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 include $(TOPDIR)/config.mk
8
9 LIB     = $(obj)lib$(SOC).o
10
11 COBJS-$(CONFIG_AM33XX)  += clock_am33xx.o
12 COBJS-$(CONFIG_TI814X)  += clock_ti814x.o
13 COBJS   += sys_info.o
14 COBJS   += mem.o
15 COBJS   += ddr.o
16 COBJS   += emif4.o
17 COBJS   += board.o
18 COBJS   += mux.o
19 COBJS-$(CONFIG_NAND_OMAP_GPMC)  += elm.o
20 COBJS-$(CONFIG_NAND_AM33XX) += elm.o
21
22 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
23 OBJS    := $(addprefix $(obj),$(COBJS) $(COBJS-y) $(SOBJS))
24
25 all:    $(obj).depend $(LIB)
26
27 $(LIB): $(OBJS)
28         $(call cmd_link_o_target, $(OBJS))
29
30 clean:
31         rm -f $(SOBJS) $(OBJS)
32
33 distclean:      clean
34         rm -f $(LIB) core *.bak .depend
35
36 #########################################################################
37
38 # defines $(obj).depend target
39 include $(SRCTREE)/rules.mk
40
41 sinclude $(obj).depend
42
43 #########################################################################