summaryrefslogtreecommitdiff
path: root/tegra20
diff options
context:
space:
mode:
Diffstat (limited to 'tegra20')
-rw-r--r--tegra20/avionic-design/medcom-wide/Makefile30
l---------tegra20/avionic-design/medcom-wide/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg1
-rwxr-xr-xtegra20/avionic-design/medcom-wide/build.sh10
l---------tegra20/avionic-design/medcom-wide/tegra20-medcom-wide.img.cfg1
-rw-r--r--tegra20/avionic-design/plutux/Makefile30
l---------tegra20/avionic-design/plutux/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg1
-rwxr-xr-xtegra20/avionic-design/plutux/build.sh10
l---------tegra20/avionic-design/plutux/tegra20-plutux.img.cfg1
-rw-r--r--tegra20/avionic-design/tec/Makefile30
l---------tegra20/avionic-design/tec/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg1
-rwxr-xr-xtegra20/avionic-design/tec/build.sh10
l---------tegra20/avionic-design/tec/tegra20-tec.img.cfg1
-rw-r--r--tegra20/compulab/trimslice/Makefile31
-rwxr-xr-xtegra20/compulab/trimslice/build.sh11
-rw-r--r--tegra20/nvidia/harmony/Makefile29
-rwxr-xr-xtegra20/nvidia/harmony/build.sh10
-rw-r--r--tegra20/nvidia/seaboard/Makefile29
-rwxr-xr-xtegra20/nvidia/seaboard/build.sh10
-rw-r--r--tegra20/nvidia/ventana/Makefile29
-rwxr-xr-xtegra20/nvidia/ventana/build.sh10
-rw-r--r--tegra20/nvidia/whistler/Makefile29
-rwxr-xr-xtegra20/nvidia/whistler/build.sh10
-rw-r--r--tegra20/toradex/colibri-t20/Makefile40
-rwxr-xr-xtegra20/toradex/colibri-t20/build.sh24
24 files changed, 301 insertions, 87 deletions
diff --git a/tegra20/avionic-design/medcom-wide/Makefile b/tegra20/avionic-design/medcom-wide/Makefile
new file mode 100644
index 0000000..7d37aa7
--- /dev/null
+++ b/tegra20/avionic-design/medcom-wide/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-medcom-wide.img
+
+include ../../../build/post.mk
diff --git a/tegra20/avionic-design/medcom-wide/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg b/tegra20/avionic-design/medcom-wide/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg
new file mode 120000
index 0000000..6c76445
--- /dev/null
+++ b/tegra20/avionic-design/medcom-wide/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg
@@ -0,0 +1 @@
+../tamonten/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg \ No newline at end of file
diff --git a/tegra20/avionic-design/medcom-wide/build.sh b/tegra20/avionic-design/medcom-wide/build.sh
index 9fa70e5..7dc6a05 100755
--- a/tegra20/avionic-design/medcom-wide/build.sh
+++ b/tegra20/avionic-design/medcom-wide/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -t20 -gbct \
- ../tamonten/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg \
- Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct
-cbootimage -t20 ../tamonten/tegra20.img.cfg tegra20-medcom-wide.img
+make
diff --git a/tegra20/avionic-design/medcom-wide/tegra20-medcom-wide.img.cfg b/tegra20/avionic-design/medcom-wide/tegra20-medcom-wide.img.cfg
new file mode 120000
index 0000000..46d2243
--- /dev/null
+++ b/tegra20/avionic-design/medcom-wide/tegra20-medcom-wide.img.cfg
@@ -0,0 +1 @@
+../tamonten/tegra20.img.cfg \ No newline at end of file
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
diff --git a/tegra20/avionic-design/plutux/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg b/tegra20/avionic-design/plutux/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg
new file mode 120000
index 0000000..6c76445
--- /dev/null
+++ b/tegra20/avionic-design/plutux/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg
@@ -0,0 +1 @@
+../tamonten/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg \ No newline at end of file
diff --git a/tegra20/avionic-design/plutux/build.sh b/tegra20/avionic-design/plutux/build.sh
index 382e451..7dc6a05 100755
--- a/tegra20/avionic-design/plutux/build.sh
+++ b/tegra20/avionic-design/plutux/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -t20 -gbct \
- ../tamonten/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg \
- Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct
-cbootimage -t20 ../tamonten/tegra20.img.cfg tegra20-plutux.img
+make
diff --git a/tegra20/avionic-design/plutux/tegra20-plutux.img.cfg b/tegra20/avionic-design/plutux/tegra20-plutux.img.cfg
new file mode 120000
index 0000000..46d2243
--- /dev/null
+++ b/tegra20/avionic-design/plutux/tegra20-plutux.img.cfg
@@ -0,0 +1 @@
+../tamonten/tegra20.img.cfg \ No newline at end of file
diff --git a/tegra20/avionic-design/tec/Makefile b/tegra20/avionic-design/tec/Makefile
new file mode 100644
index 0000000..f5b81b6
--- /dev/null
+++ b/tegra20/avionic-design/tec/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-tec.img
+
+include ../../../build/post.mk
diff --git a/tegra20/avionic-design/tec/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg b/tegra20/avionic-design/tec/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg
new file mode 120000
index 0000000..6c76445
--- /dev/null
+++ b/tegra20/avionic-design/tec/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg
@@ -0,0 +1 @@
+../tamonten/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg \ No newline at end of file
diff --git a/tegra20/avionic-design/tec/build.sh b/tegra20/avionic-design/tec/build.sh
index 2a49fdd..7dc6a05 100755
--- a/tegra20/avionic-design/tec/build.sh
+++ b/tegra20/avionic-design/tec/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -t20 -gbct \
- ../tamonten/Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct.cfg \
- Tamonten_T2_512MB_MEM2G16D2D-ABG-25_366MHz.bct
-cbootimage -t20 ../tamonten/tegra20.img.cfg tegra20-tec.img
+make
diff --git a/tegra20/avionic-design/tec/tegra20-tec.img.cfg b/tegra20/avionic-design/tec/tegra20-tec.img.cfg
new file mode 120000
index 0000000..46d2243
--- /dev/null
+++ b/tegra20/avionic-design/tec/tegra20-tec.img.cfg
@@ -0,0 +1 @@
+../tamonten/tegra20.img.cfg \ No newline at end of file
diff --git a/tegra20/compulab/trimslice/Makefile b/tegra20/compulab/trimslice/Makefile
new file mode 100644
index 0000000..59d54e2
--- /dev/null
+++ b/tegra20/compulab/trimslice/Makefile
@@ -0,0 +1,31 @@
+# Copyright (c) 2012-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 := \
+ trimslice-mmc.bct \
+ trimslice-spi.bct
+
+images := \
+ trimslice-mmc.img \
+ trimslice-spi.img
+
+include ../../../build/post.mk
diff --git a/tegra20/compulab/trimslice/build.sh b/tegra20/compulab/trimslice/build.sh
index 9b730c6..7dc6a05 100755
--- a/tegra20/compulab/trimslice/build.sh
+++ b/tegra20/compulab/trimslice/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+# 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
@@ -18,11 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -gbct trimslice-mmc.bct.cfg trimslice-mmc.bct
-cbootimage trimslice-mmc.img.cfg trimslice-mmc.img
-
-cbootimage -gbct trimslice-spi.bct.cfg trimslice-spi.bct
-cbootimage trimslice-spi.img.cfg trimslice-spi.img
+make
diff --git a/tegra20/nvidia/harmony/Makefile b/tegra20/nvidia/harmony/Makefile
new file mode 100644
index 0000000..113de21
--- /dev/null
+++ b/tegra20/nvidia/harmony/Makefile
@@ -0,0 +1,29 @@
+# Copyright (c) 2012-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 := \
+ harmony_a02_12Mhz_H5PS1G83EFR-S6C_333Mhz_1GB_2K8Nand_HY27UF084G2B-TP.bct
+
+images := \
+ harmony-nand.img
+
+include ../../../build/post.mk
diff --git a/tegra20/nvidia/harmony/build.sh b/tegra20/nvidia/harmony/build.sh
index 2209860..7dc6a05 100755
--- a/tegra20/nvidia/harmony/build.sh
+++ b/tegra20/nvidia/harmony/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -gbct \
- harmony_a02_12Mhz_H5PS1G83EFR-S6C_333Mhz_1GB_2K8Nand_HY27UF084G2B-TP.bct.cfg \
- harmony_a02_12Mhz_H5PS1G83EFR-S6C_333Mhz_1GB_2K8Nand_HY27UF084G2B-TP.bct
-cbootimage harmony-nand.img.cfg harmony-nand.img
+make
diff --git a/tegra20/nvidia/seaboard/Makefile b/tegra20/nvidia/seaboard/Makefile
new file mode 100644
index 0000000..cbe451b
--- /dev/null
+++ b/tegra20/nvidia/seaboard/Makefile
@@ -0,0 +1,29 @@
+# Copyright (c) 2012-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 := \
+ PM282_Hynix_1GB_H5PS2G83AFR-S6C_380MHz_nand.bct
+
+images := \
+ seaboard-nand.img
+
+include ../../../build/post.mk
diff --git a/tegra20/nvidia/seaboard/build.sh b/tegra20/nvidia/seaboard/build.sh
index 558a7ce..7dc6a05 100755
--- a/tegra20/nvidia/seaboard/build.sh
+++ b/tegra20/nvidia/seaboard/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -gbct \
- PM282_Hynix_1GB_H5PS2G83AFR-S6C_380MHz_nand.bct.cfg \
- PM282_Hynix_1GB_H5PS2G83AFR-S6C_380MHz_nand.bct
-cbootimage seaboard-nand.img.cfg seaboard-nand.img
+make
diff --git a/tegra20/nvidia/ventana/Makefile b/tegra20/nvidia/ventana/Makefile
new file mode 100644
index 0000000..2c5ca20
--- /dev/null
+++ b/tegra20/nvidia/ventana/Makefile
@@ -0,0 +1,29 @@
+# Copyright (c) 2012-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 := \
+ ventana_A03_12MHz_EDB8132B1PB6DF_300Mhz_1GB_emmc_THGBM1G6D4EBAI4.bct
+
+images := \
+ ventana-emmc.img
+
+include ../../../build/post.mk
diff --git a/tegra20/nvidia/ventana/build.sh b/tegra20/nvidia/ventana/build.sh
index e1a7681..7dc6a05 100755
--- a/tegra20/nvidia/ventana/build.sh
+++ b/tegra20/nvidia/ventana/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -gbct \
- ventana_A03_12MHz_EDB8132B1PB6DF_300Mhz_1GB_emmc_THGBM1G6D4EBAI4.bct.cfg \
- ventana_A03_12MHz_EDB8132B1PB6DF_300Mhz_1GB_emmc_THGBM1G6D4EBAI4.bct
-cbootimage ventana-emmc.img.cfg ventana-emmc.img
+make
diff --git a/tegra20/nvidia/whistler/Makefile b/tegra20/nvidia/whistler/Makefile
new file mode 100644
index 0000000..5d8ff04
--- /dev/null
+++ b/tegra20/nvidia/whistler/Makefile
@@ -0,0 +1,29 @@
+# Copyright (c) 2012-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 := \
+ E1108_Elpida_512MB_EDB4032B2PB-6D-F_300MHz_40nm_emmc_x8.bct
+
+images := \
+ whistler-emmc.img
+
+include ../../../build/post.mk
diff --git a/tegra20/nvidia/whistler/build.sh b/tegra20/nvidia/whistler/build.sh
index 36d3665..7dc6a05 100755
--- a/tegra20/nvidia/whistler/build.sh
+++ b/tegra20/nvidia/whistler/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+# 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
@@ -18,10 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -gbct \
- E1108_Elpida_512MB_EDB4032B2PB-6D-F_300MHz_40nm_emmc_x8.bct.cfg \
- E1108_Elpida_512MB_EDB4032B2PB-6D-F_300MHz_40nm_emmc_x8.bct
-cbootimage whistler-emmc.img.cfg whistler-emmc.img
+make
diff --git a/tegra20/toradex/colibri-t20/Makefile b/tegra20/toradex/colibri-t20/Makefile
new file mode 100644
index 0000000..c6c8b7b
--- /dev/null
+++ b/tegra20/toradex/colibri-t20/Makefile
@@ -0,0 +1,40 @@
+# Copyright (c) 2013, Lucas Stach
+# 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 := \
+ colibri-t20_256_hsmmc.bct \
+ colibri-t20_512_hsmmc.bct \
+ colibri-t20_256_v11_nand.bct \
+ colibri-t20_256_v12_nand.bct \
+ colibri-t20_512_v11_nand.bct \
+ colibri-t20_512_v12_nand.bct
+
+images := \
+ colibri-t20_256_hsmmc.img \
+ colibri-t20_512_hsmmc.img \
+ colibri-t20_256_v11_nand.img \
+ colibri-t20_256_v12_nand.img \
+ colibri-t20_512_v11_nand.img \
+ colibri-t20_512_v12_nand.img
+
+include ../../../build/post.mk
diff --git a/tegra20/toradex/colibri-t20/build.sh b/tegra20/toradex/colibri-t20/build.sh
index ca950b1..7dc6a05 100755
--- a/tegra20/toradex/colibri-t20/build.sh
+++ b/tegra20/toradex/colibri-t20/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2013, Lucas Stach
+# 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
@@ -18,24 +18,4 @@
# misrepresented as being the original software.
# 3. This notice may not be removed or altered from any source distribution.
-set -e
-set -x
-
-cbootimage -gbct colibri-t20_256_hsmmc.bct.cfg colibri-t20_256_hsmmc.bct
-cbootimage colibri-t20_256_hsmmc.img.cfg colibri-t20_256_hsmmc.img
-
-cbootimage -gbct colibri-t20_512_hsmmc.bct.cfg colibri-t20_512_hsmmc.bct
-cbootimage colibri-t20_512_hsmmc.img.cfg colibri-t20_512_hsmmc.img
-
-cbootimage -gbct colibri-t20_256_v11_nand.bct.cfg colibri-t20_256_v11_nand.bct
-cbootimage colibri-t20_256_v11_nand.img.cfg colibri-t20_256_v11_nand.img
-
-cbootimage -gbct colibri-t20_256_v12_nand.bct.cfg colibri-t20_256_v12_nand.bct
-cbootimage colibri-t20_256_v12_nand.img.cfg colibri-t20_256_v12_nand.img
-
-cbootimage -gbct colibri-t20_512_v11_nand.bct.cfg colibri-t20_512_v11_nand.bct
-cbootimage colibri-t20_512_v11_nand.img.cfg colibri-t20_512_v11_nand.img
-
-cbootimage -gbct colibri-t20_512_v12_nand.bct.cfg colibri-t20_512_v12_nand.bct
-cbootimage colibri-t20_512_v12_nand.img.cfg colibri-t20_512_v12_nand.img
-
+make