wdenk | 8bde7f7 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 1 | |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 2 | ####################################################################### |
| 3 | # |
| 4 | # Copyright (C) 2000, 2001, 2002, 2003 |
| 5 | # The LEOX team <team@leox.org>, http://www.leox.org |
| 6 | # |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 7 | # (C) Copyright 2006 |
| 8 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 9 | # |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 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 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 37 | LIB = $(obj)lib$(BOARD).a |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 38 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 39 | COBJS = $(BOARD).o flash.o |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 40 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 41 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 42 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 43 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 44 | |
| 45 | $(LIB): $(obj).depend $(OBJS) |
Wolfgang Denk | 2b208f5 | 2006-10-09 01:02:05 +0200 | [diff] [blame] | 46 | $(AR) $(ARFLAGS) $@ $(OBJS) |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 47 | |
| 48 | ######################################################################### |
| 49 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 50 | # defines $(obj).depend target |
| 51 | include $(SRCTREE)/rules.mk |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 52 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 53 | sinclude $(obj).depend |
wdenk | 3bac351 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 54 | |
| 55 | ######################################################################### |