]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/LEOX/elpt860/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-samsung
[karo-tx-uboot.git] / board / LEOX / elpt860 / Makefile
1
2 #######################################################################
3 #
4 # Copyright (C) 2000, 2001, 2002, 2003
5 # The LEOX team <team@leox.org>, http://www.leox.org
6 #
7 # (C) Copyright 2006
8 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9 #
10 # LEOX.org is about the development of free hardware and software resources
11 #   for system on chip.
12 #
13 # Description: U-Boot port on the LEOX's ELPT860 CPU board
14 # ~~~~~~~~~~~
15 #
16 #######################################################################
17 #
18 # This program is free software; you can redistribute it and/or
19 # modify it under the terms of the GNU General Public License as
20 # published by the Free Software Foundation; either version 2 of
21 # the License, or (at your option) any later version.
22 #
23 # This program is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 # GNU General Public License for more details.
27 #
28 # You should have received a copy of the GNU General Public License
29 # along with this program; if not, write to the Free Software
30 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31 # MA 02111-1307 USA
32 #
33 #######################################################################
34
35 include $(TOPDIR)/config.mk
36
37 LIB     = $(obj)lib$(BOARD).o
38
39 COBJS   = $(BOARD).o flash.o
40
41 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
42 OBJS    := $(addprefix $(obj),$(COBJS))
43 SOBJS   := $(addprefix $(obj),$(SOBJS))
44
45 $(LIB): $(obj).depend $(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 #########################################################################