diff options
author | Tom Rini <trini@kernel.crashing.org> | 2003-09-23 18:50:24 -0700 |
---|---|---|
committer | Tom Rini <trini@kernel.crashing.org> | 2003-09-23 18:50:24 -0700 |
commit | 0f7810ea8fc97fbd6c1df507b172e9a63d925c3c (patch) | |
tree | 60f6fcce39fb6d90bef79e5fa5bad0af3fd38d13 /scripts | |
parent | efe775ab6d8ecd198295d9c138c2044605d3d47b (diff) | |
download | history-0f7810ea8fc97fbd6c1df507b172e9a63d925c3c.tar.gz |
PPC32: Add a uImage boot target.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mkuboot.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh new file mode 100644 index 0000000000000..52a17ab97eb0c --- /dev/null +++ b/scripts/mkuboot.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# +# Build U-Boot image when `mkimage' tool is available. +# + +MKIMAGE=$(type -path mkimage) + +if [ -z "${MKIMAGE}" ]; then + # Doesn't exist + echo '"mkimage" command not found - U-Boot images will not be built' >&2 + exit 0; +fi + +# Call "mkimage" to create U-Boot image +${MKIMAGE} "$@" |