wdenk | 57b2d80 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 1 | |
wdenk | ef5fe75 | 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 | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 7 | # (C) Copyright 2006 |
| 8 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 9 | # |
wdenk | ef5fe75 | 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 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 18 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 19 | # |
| 20 | ####################################################################### |
| 21 | |
| 22 | include $(TOPDIR)/config.mk |
| 23 | |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 24 | LIB = $(obj)lib$(BOARD).o |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 25 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 26 | COBJS = $(BOARD).o flash.o |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 27 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 28 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 29 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 30 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 31 | |
| 32 | $(LIB): $(obj).depend $(OBJS) |
Sebastien Carlier | a8d426f | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 33 | $(call cmd_link_o_target, $(OBJS)) |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 34 | |
| 35 | ######################################################################### |
| 36 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 37 | # defines $(obj).depend target |
| 38 | include $(SRCTREE)/rules.mk |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 39 | |
Marian Balakowicz | d62379d | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 40 | sinclude $(obj).depend |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 41 | |
| 42 | ######################################################################### |