blob: 0268f9ce48fbce137243387c4e02f395bd54acdf [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#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020018# SPDX-License-Identifier: GPL-2.0+
wdenkef5fe752003-03-12 10:41:04 +000019#
20#######################################################################
21
22include $(TOPDIR)/config.mk
23
Sebastien Carliera8d426f2010-11-05 15:48:07 +010024LIB = $(obj)lib$(BOARD).o
wdenkef5fe752003-03-12 10:41:04 +000025
Marian Balakowiczd62379d2006-09-01 19:49:50 +020026COBJS = $(BOARD).o flash.o
wdenkef5fe752003-03-12 10:41:04 +000027
Marian Balakowiczd62379d2006-09-01 19:49:50 +020028SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
29OBJS := $(addprefix $(obj),$(COBJS))
30SOBJS := $(addprefix $(obj),$(SOBJS))
31
32$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010033 $(call cmd_link_o_target, $(OBJS))
wdenkef5fe752003-03-12 10:41:04 +000034
35#########################################################################
36
Marian Balakowiczd62379d2006-09-01 19:49:50 +020037# defines $(obj).depend target
38include $(SRCTREE)/rules.mk
wdenkef5fe752003-03-12 10:41:04 +000039
Marian Balakowiczd62379d2006-09-01 19:49:50 +020040sinclude $(obj).depend
wdenkef5fe752003-03-12 10:41:04 +000041
42#########################################################################