summaryrefslogtreecommitdiff
path: root/board/8dtech/eco5pk/Makefile
diff options
context:
space:
mode:
authorRaphael Assenat <raph@8d.com>2012-10-22 05:23:46 +0000
committerTom Rini <trini@ti.com>2012-10-30 15:28:06 -0700
commit843a7ee8c4b1e47fae41268d6b95306f7e6408f5 (patch)
treedf00fb8f8242d7e07de587bb450c41be806c72ea /board/8dtech/eco5pk/Makefile
parented407be53e1e8f0be90d5723ca71ab1c37e2eed8 (diff)
downloadu-boot-imx-843a7ee8c4b1e47fae41268d6b95306f7e6408f5.zip
u-boot-imx-843a7ee8c4b1e47fae41268d6b95306f7e6408f5.tar.gz
u-boot-imx-843a7ee8c4b1e47fae41268d6b95306f7e6408f5.tar.bz2
eco5pk: Add new board and default config
Signed-off-by: Raphael Assenat <raph@8d.com> [trini: Squash boards.cfg / MAINTAINERS change into main patch] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/8dtech/eco5pk/Makefile')
-rw-r--r--board/8dtech/eco5pk/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/board/8dtech/eco5pk/Makefile b/board/8dtech/eco5pk/Makefile
new file mode 100644
index 0000000..befe60a
--- /dev/null
+++ b/board/8dtech/eco5pk/Makefile
@@ -0,0 +1,43 @@
+#
+# (C) Copyright 2000, 2001, 2002
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# Adapted from ti/evm/Makefile
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+COBJS := eco5pk.o
+
+SRCS := $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend