summaryrefslogtreecommitdiff
path: root/board/nvidia
diff options
context:
space:
mode:
authorTom Warren <twarren@nvidia.com>2013-04-16 15:57:51 -0700
committerTom Warren <twarren@nvidia.com>2013-05-28 12:58:41 -0700
commitdcfe863838becd4cf4dba4d89aef2332150fe90f (patch)
treed6f49af9f98c02fe3f896ce36c3d813eae4c65a1 /board/nvidia
parentfd725691797bb3192af15a15c2cba7d0b2ee9327 (diff)
downloadu-boot-imx-dcfe863838becd4cf4dba4d89aef2332150fe90f.zip
u-boot-imx-dcfe863838becd4cf4dba4d89aef2332150fe90f.tar.gz
u-boot-imx-dcfe863838becd4cf4dba4d89aef2332150fe90f.tar.bz2
Tegra: T30: Beaver: Fix board/board_name env vars, s/b beaver, not cardhu
Did a 'strings u-boot-dtb-tegra.bin | less' and saw that both board and board_name == beaver. Didn't test as I have no T30 Beaver board here. Signed-off-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'board/nvidia')
-rw-r--r--board/nvidia/beaver/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/board/nvidia/beaver/Makefile b/board/nvidia/beaver/Makefile
new file mode 100644
index 0000000..9510f60
--- /dev/null
+++ b/board/nvidia/beaver/Makefile
@@ -0,0 +1,38 @@
+#
+# 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
+
+$(shell mkdir -p $(obj)../cardhu)
+
+LIB = $(obj)lib$(BOARD).o
+
+COBJS = ../cardhu/cardhu.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
+
+#########################################################################