blob: 29286919c0fb3860b3fea7b52bacfe90b0d35c1d [file] [log] [blame]
wdenk57b2d802003-06-27 21:31:46 +00001
wdenkef5fe752003-03-12 10:41:04 +00002#######################################################################
3#
4# Copyright (C) 2000, 2001, 2002, 2003
5# The LEOX team <team@leox.org>, http://www.leox.org
6#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02007# (C) Copyright 2006
8# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9#
wdenkef5fe752003-03-12 10:41:04 +000010# 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
35include $(TOPDIR)/config.mk
36
Marian Balakowiczd62379d2006-09-01 19:49:50 +020037LIB = $(obj)lib$(BOARD).a
wdenkef5fe752003-03-12 10:41:04 +000038
Marian Balakowiczd62379d2006-09-01 19:49:50 +020039COBJS = $(BOARD).o flash.o
wdenkef5fe752003-03-12 10:41:04 +000040
Marian Balakowiczd62379d2006-09-01 19:49:50 +020041SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
42OBJS := $(addprefix $(obj),$(COBJS))
43SOBJS := $(addprefix $(obj),$(SOBJS))
44
45$(LIB): $(obj).depend $(OBJS)
Wolfgang Denk6a65e422006-10-09 01:02:05 +020046 $(AR) $(ARFLAGS) $@ $(OBJS)
wdenkef5fe752003-03-12 10:41:04 +000047
48#########################################################################
49
Marian Balakowiczd62379d2006-09-01 19:49:50 +020050# defines $(obj).depend target
51include $(SRCTREE)/rules.mk
wdenkef5fe752003-03-12 10:41:04 +000052
Marian Balakowiczd62379d2006-09-01 19:49:50 +020053sinclude $(obj).depend
wdenkef5fe752003-03-12 10:41:04 +000054
55#########################################################################