summaryrefslogtreecommitdiff
path: root/board/karo/tk71/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-07-03 03:02:20 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:33 +0200
commit0ec005fe00b9057fd16531f44146c9e363bb7861 (patch)
tree9c1acb4455eef8aa39599574b8538b5c7066ded9 /board/karo/tk71/Makefile
parent0c25defccdc0461bf6695d7e0fe3091c9da8778e (diff)
downloadu-boot-imx-0ec005fe00b9057fd16531f44146c9e363bb7861.zip
u-boot-imx-0ec005fe00b9057fd16531f44146c9e363bb7861.tar.gz
u-boot-imx-0ec005fe00b9057fd16531f44146c9e363bb7861.tar.bz2
Kirkwood: Add support for Ka-Ro TK71
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/karo/tk71/Makefile')
-rw-r--r--board/karo/tk71/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/board/karo/tk71/Makefile b/board/karo/tk71/Makefile
new file mode 100644
index 0000000..934e391
--- /dev/null
+++ b/board/karo/tk71/Makefile
@@ -0,0 +1,45 @@
+#
+# Copyright (C) 2012 Marek Vasut <marex@denx.de>
+# on behalf of DENX Software Engineering GmbH
+#
+#
+# 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., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+COBJS := tk71.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS) $(SOBJS))
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################