summaryrefslogtreecommitdiff
path: root/board/ti/ti814x/Makefile
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2013-03-15 10:07:10 +0000
committerTom Rini <trini@ti.com>2013-03-24 12:49:12 -0400
commitea7b96b6aa06fea40547333e8796f8ea9a856d67 (patch)
tree5fd81168a1b2bf3040c2ab0d4ea900248aaed136 /board/ti/ti814x/Makefile
parent6213a68fe8da8be772e12def2302eb2bef85e1c9 (diff)
downloadu-boot-imx-ea7b96b6aa06fea40547333e8796f8ea9a856d67.zip
u-boot-imx-ea7b96b6aa06fea40547333e8796f8ea9a856d67.tar.gz
u-boot-imx-ea7b96b6aa06fea40547333e8796f8ea9a856d67.tar.bz2
ti814x_evm: add ti814x evm board support
Add TI814X EVM board directory, config file, and MAINTAINERS entry. Enable build. Signed-off-by: Matt Porter <mporter@ti.com> Reviewed-by: Tom Rini <trini@ti.com> [trini: Adapt to recent omap_hsmmc requirements, Matt re-tested] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/ti/ti814x/Makefile')
-rw-r--r--board/ti/ti814x/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/board/ti/ti814x/Makefile b/board/ti/ti814x/Makefile
new file mode 100644
index 0000000..09d2422
--- /dev/null
+++ b/board/ti/ti814x/Makefile
@@ -0,0 +1,46 @@
+#
+# Makefile
+#
+# Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+#
+# 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 "as is" WITHOUT ANY WARRANTY of any
+# kind, whether express or implied; without even the implied warranty
+# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+ifdef CONFIG_SPL_BUILD
+COBJS := mux.o
+endif
+
+COBJS += evm.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))
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################