summaryrefslogtreecommitdiff
path: root/tegra20/avionic-design/plutux/Makefile
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-10-03 12:45:34 -0600
committerStephen Warren <swarren@nvidia.com>2013-10-03 13:09:05 -0600
commitc86360be8425c33595b0c6f630365ab0ba3c06b1 (patch)
treec08e0e67d49a1e8c9bae214823a6fd521f0638c4 /tegra20/avionic-design/plutux/Makefile
parentcaa74de0a7ebcbafd4c81809587316c1a42188e0 (diff)
downloadcbootimage-configs-c86360be8425c33595b0c6f630365ab0ba3c06b1.tar.gz
Build using Makefiles, add separate bct/img targets
In some situations, one may only need BCT binaries and not flashable image binaries. Hence, it's useful to allow BCTs and flashable image to be built separately, rather than always building both together. While re-writing the build system, convert from shell-scripts to Makefiles. Now, one can "make", "make bcts", or "make images", all with appropriate dependency checking. Many Avionic Design boards use a carrier/module design, with the carrier and module files stored in separate directories. Use symlinks to handle this, rather than complicating the build system with support for files from other directories. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'tegra20/avionic-design/plutux/Makefile')
-rw-r--r--tegra20/avionic-design/plutux/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/tegra20/avionic-design/plutux/Makefile b/tegra20/avionic-design/plutux/Makefile
new file mode 100644
index 0000000..72ed811
--- /dev/null
+++ b/tegra20/avionic-design/plutux/Makefile
@@ -0,0 +1,30 @@
+# Copyright (C) 2013 Avionic Design GmbH
+# Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
+#
+# This software is provided 'as-is', without any express or implied
+# warranty. In no event will the authors be held liable for any damages
+# arising from the use of this software.
+#
+# Permission is granted to anyone to use this software for any purpose,
+# including commercial applications, and to alter it and redistribute it
+# freely, subject to the following restrictions:
+#
+# 1. The origin of this software must not be misrepresented; you must not
+# claim that you wrote the original software. If you use this software
+# in a product, an acknowledgment in the product documentation would be
+# appreciated but is not required.
+# 2. Altered source versions must be plainly marked as such, and must not be
+# misrepresented as being the original software.
+# 3. This notice may not be removed or altered from any source distribution.
+
+include ../../../build/pre.mk
+
+soc := t20
+
+bcts := \
+ Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct
+
+images := \
+ tegra20-plutux.img
+
+include ../../../build/post.mk