]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/armv7/omap5/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap5 / Makefile
1 #
2 # (C) Copyright 2000-2010
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$(SOC).o
11
12 COBJS   += hwinit.o
13 COBJS   += emif.o
14 COBJS   += sdram.o
15 COBJS   += prcm-regs.o
16 COBJS   += hw_data.o
17 COBJS   += abb.o
18
19 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20 OBJS    := $(addprefix $(obj),$(COBJS) $(SOBJS))
21
22 all:     $(obj).depend $(LIB)
23
24 $(LIB): $(OBJS)
25         $(call cmd_link_o_target, $(OBJS))
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################