]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm1136/mx35/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / cpu / arm1136 / mx35 / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
6 #
7 # SPDX-License-Identifier:      GPL-2.0+
8 #
9
10 include $(TOPDIR)/config.mk
11
12 LIB     = $(obj)lib$(SOC).o
13
14 COBJS   += generic.o
15 COBJS   += timer.o
16 COBJS   += mx35_sdram.o
17
18 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS))
20
21 all:    $(obj).depend $(LIB)
22
23 $(LIB): $(OBJS)
24         $(call cmd_link_o_target, $(OBJS))
25
26
27 #########################################################################
28
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
31
32 sinclude $(obj).depend
33
34 #########################################################################