]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/am33xx/Makefile
dbd1ec3c05c1d3b800306f89ce88158225399847
[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
21 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22 OBJS    := $(addprefix $(obj),$(COBJS) $(COBJS-y) $(SOBJS))
23
24 all:    $(obj).depend $(LIB)
25
26 $(LIB): $(OBJS)
27         $(call cmd_link_o_target, $(OBJS))
28
29 clean:
30         rm -f $(SOBJS) $(OBJS)
31
32 distclean:      clean
33         rm -f $(LIB) core *.bak .depend
34
35 #########################################################################
36
37 # defines $(obj).depend target
38 include $(SRCTREE)/rules.mk
39
40 sinclude $(obj).depend
41
42 #########################################################################