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