]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/cpu/arm920t/ep93xx/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / arch / arm / cpu / arm920t / ep93xx / Makefile
1 #
2 # Cirrus Logic EP93xx CPU-specific Makefile
3 #
4 # Copyright (C) 2009 Matthias Kaehlcke <matthias@kaehlcke.net>
5 #
6 # Copyright (C) 2004, 2005
7 # Cory T. Tusar, Videon Central, Inc., <ctusar@videon-central.com>
8 #
9 # Copyright (C) 2006
10 # Dominic Rath <Dominic.Rath@gmx.de>
11 #
12 # Based on an original Makefile, which is
13 #
14 # (C) Copyright 2000, 2001, 2002
15 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
16 #
17 # See file CREDITS for list of people who contributed to this project.
18 #
19 # This program is free software; you can redistribute it and/or modify
20 # it under the terms of the GNU General Public License as published by
21 # the Free Software Foundation; either version 2 of the License, or
22 # (at your option) any later version.
23 #
24 # This program is distributed in the hope that it will be useful, but
25 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
26 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
27 # for more details.
28 #
29 # You should have received a copy of the GNU General Public License along
30 # with this program; if not, write to the Free Software Foundation, Inc.,
31 # 675 Mass Ave, Cambridge, MA 02139, USA.
32 #
33 include $(TOPDIR)/config.mk
34
35 LIB = $(obj)lib$(SOC).o
36
37 COBJS   = cpu.o led.o speed.o timer.o
38 SOBJS   = lowlevel_init.o
39
40 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
41 OBJS    := $(addprefix $(obj),$(SOBJS) $(COBJS))
42
43 all:    $(obj).depend $(LIB)
44
45 $(LIB): $(OBJS)
46         $(call cmd_link_o_target, $(OBJS))
47
48 #########################################################################
49
50 # defines $(obj).depend target
51 include $(SRCTREE)/rules.mk
52
53 sinclude $(obj).depend
54
55 #########################################################################