aboutsummaryrefslogtreecommitdiff
path: root/board/nvidia/dalmore/Makefile
diff options
context:
space:
mode:
authorTom Warren2013-01-28 13:32:13 +0000
committerTom Warren2013-02-11 10:35:26 -0700
commit07067145dee374e970ffc033cff76982e8cf2e19 (patch)
treed99f91fdfc9ec1c078aebe45f80770d0479c1490 /board/nvidia/dalmore/Makefile
parent94829195ac48b4e42d7363ec4cd97688f25e9552 (diff)
Tegra114: Add/enable Dalmore build (T114 reference board)
This build is stripped down. It boots to the command prompt. GPIO is the only peripheral supported. Others TBD. Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/dalmore/Makefile')
-rw-r--r--board/nvidia/dalmore/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/board/nvidia/dalmore/Makefile b/board/nvidia/dalmore/Makefile
new file mode 100644
index 00000000000..699b9f6cc60
--- /dev/null
+++ b/board/nvidia/dalmore/Makefile
@@ -0,0 +1,36 @@
+#
+# Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms and conditions of the GNU General Public License,
+# version 2, as published by the Free Software Foundation.
+#
+# This program is distributed in the hope 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, see <http://www.gnu.org/licenses/>.
+#
+
+include $(TOPDIR)/config.mk
+
+LIB = $(obj)lib$(BOARD).o
+
+COBJS := $(BOARD).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
+
+#########################################################################