blob: 96727cb71e9947e92702da263f5f12a577b2a2db [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
Sebastien Carliera8d426f2010-11-05 15:48:07 +010037LIB = $(obj)lib$(BOARD).o
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)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010046 $(call cmd_link_o_target, $(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#########################################################################