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