blob: 29286919c0fb3860b3fea7b52bacfe90b0d35c1d [file] [log] [blame]
wdenk8bde7f72003-06-27 21:31:46 +00001
wdenk3bac3512003-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 Balakowiczf9328632006-09-01 19:49:50 +02007# (C) Copyright 2006
8# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
9#
wdenk3bac3512003-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 Balakowiczf9328632006-09-01 19:49:50 +020037LIB = $(obj)lib$(BOARD).a
wdenk3bac3512003-03-12 10:41:04 +000038
Marian Balakowiczf9328632006-09-01 19:49:50 +020039COBJS = $(BOARD).o flash.o
wdenk3bac3512003-03-12 10:41:04 +000040
Marian Balakowiczf9328632006-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 Denk2b208f52006-10-09 01:02:05 +020046 $(AR) $(ARFLAGS) $@ $(OBJS)
wdenk3bac3512003-03-12 10:41:04 +000047
48#########################################################################
49
Marian Balakowiczf9328632006-09-01 19:49:50 +020050# defines $(obj).depend target
51include $(SRCTREE)/rules.mk
wdenk3bac3512003-03-12 10:41:04 +000052
Marian Balakowiczf9328632006-09-01 19:49:50 +020053sinclude $(obj).depend
wdenk3bac3512003-03-12 10:41:04 +000054
55#########################################################################