diff options
author | York Sun <yorksun@freescale.com> | 2013-03-22 07:37:03 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-02 16:23:34 -0400 |
commit | c17b94ec5ec89c63070dd385b6c3a6645761c405 (patch) | |
tree | 0d5af9200e2ab96a53dccb68a6791e561cd6ab1e /MAKEALL | |
parent | 74de8c9a1672be6c41a6815f484b5958f8241af4 (diff) |
MAKEALL: Fix case substitution for old bash
Bash ver 3.x doesn't support the parameter expansion with case
substitution. Use tr instead.
Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Allen Martin <amartin@nvidia.com>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-x | MAKEALL | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -664,7 +664,7 @@ build_target() { export BUILD_DIR="${output_dir}" target_arch=$(get_target_arch ${target}) - eval cross_toolchain=\$CROSS_COMPILE_${target_arch^^} + eval cross_toolchain=\$CROSS_COMPILE_`echo $target_arch | tr '[:lower:]' '[:upper:]'` if [ "${cross_toolchain}" ] ; then MAKE="make CROSS_COMPILE=${cross_toolchain}" elif [ "${CROSS_COMPILE}" ] ; then |