summaryrefslogtreecommitdiff
path: root/board/ti/am335x/Makefile
diff options
context:
space:
mode:
authorChandan Nath <chandan.nath@ti.com>2011-10-14 02:58:26 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:36 +0200
commit5289e83a8ca8c4a6613d2d019bad330816dbc2d4 (patch)
tree530c83e9cf6a48ec2b75b508c79e7476bf7d610c /board/ti/am335x/Makefile
parentf0f4b5ff50b1ee8db5caceed6bbf464880e33274 (diff)
downloadu-boot-imx-5289e83a8ca8c4a6613d2d019bad330816dbc2d4.zip
u-boot-imx-5289e83a8ca8c4a6613d2d019bad330816dbc2d4.tar.gz
u-boot-imx-5289e83a8ca8c4a6613d2d019bad330816dbc2d4.tar.bz2
ARM:AM33XX: Add support for TI AM335X EVM
This patch adds basic support for booting the board. This patch adds support for the UART necessary to get to the u-boot prompt. Signed-off-by: Chandan Nath <chandan.nath@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti/am335x/Makefile')
-rw-r--r--board/ti/am335x/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/board/ti/am335x/Makefile b/board/ti/am335x/Makefile
new file mode 100644
index 0000000..d58b185
--- /dev/null
+++ b/board/ti/am335x/Makefile
@@ -0,0 +1,43 @@
+#
+# Makefile
+#
+# Copyright (C) 2011 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
+
+COBJS := evm.o mux.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
+
+#########################################################################