aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-01-20 19:12:31 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-03-03 18:19:42 -0300
commit8f64c58a572541fc308eb982907ccf7f75c1c666 (patch)
tree965e097905d9caea9ace5246a64465b377cb9882 /recipes-bsp/u-boot
parentd83668ad23a7d70edbdf961d5b5ec5cdc00e2107 (diff)
downloadmeta-fsl-arm-8f64c58a572541fc308eb982907ccf7f75c1c666.tar.gz
meta-fsl-arm-8f64c58a572541fc308eb982907ccf7f75c1c666.tar.bz2
meta-fsl-arm-8f64c58a572541fc308eb982907ccf7f75c1c666.zip
u-boot-mfgtool.inc: Build a Manufactoring Tool variant
This makes a separated binary set for Manufacturing Tool use without clobbering the U-Boot used for normal use. Change-Id: Ie059e65581c999546586018975d3fa4a4b04e5d2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/u-boot-mfgtool.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-mfgtool.inc b/recipes-bsp/u-boot/u-boot-mfgtool.inc
new file mode 100644
index 0000000..91526ad
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-mfgtool.inc
@@ -0,0 +1,21 @@
+# Produces a Manufacturing Tool compatible U-Boot
+#
+# This makes a separated binary set for Manufacturing Tool use
+# without clobbering the U-Boot used for normal use.
+#
+# This file must to be included after the original u-boot.inc file,
+# as it overrides the need values.
+#
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+# Adjust provides
+PROVIDES = "u-boot-mfgtool"
+
+# Use 'mfgtool' config
+UBOOT_CONFIG = "mfgtool"
+
+# Add 'mfgtool' suffix
+UBOOT_IMAGE = "u-boot-${MACHINE}-mfgtool-${PV}-${PR}.${UBOOT_SUFFIX}"
+UBOOT_SYMLINK = "u-boot-${MACHINE}-mfgtool.${UBOOT_SUFFIX}"
+SPL_IMAGE = "${SPL_BINARY}-${MACHINE}-mfgtool-${PV}-${PR}"
+SPL_SYMLINK = "${SPL_BINARY}-mfgtool-${MACHINE}"