2 #######################################################################
4 # Copyright (C) 2000, 2001, 2002, 2003
5 # The LEOX team <team@leox.org>, http://www.leox.org
8 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 # LEOX.org is about the development of free hardware and software resources
13 # Description: U-Boot port on the LEOX's ELPT860 CPU board
16 #######################################################################
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.
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.
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,
33 #######################################################################
35 include $(TOPDIR)/config.mk
37 LIB = $(obj)lib$(BOARD).a
39 COBJS = $(BOARD).o flash.o
41 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
42 OBJS := $(addprefix $(obj),$(COBJS))
43 SOBJS := $(addprefix $(obj),$(SOBJS))
45 $(LIB): $(obj).depend $(OBJS)
46 $(AR) $(ARFLAGS) $@ $(OBJS)
48 #########################################################################
50 # defines $(obj).depend target
51 include $(SRCTREE)/rules.mk
53 sinclude $(obj).depend
55 #########################################################################