diff options
author | Uwe kleine-König <ukleinek@informatik.uni-freiburg.de> | 2007-03-28 10:55:55 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-02 14:58:10 -0400 |
commit | f03e1666d6164da6f098dc1a2e539eced3e4461a (patch) | |
tree | 95baa00ef23b0c41c372204cef4413d21b5af2b8 /scripts | |
parent | e711db3edfe7c0e32b6430e7d041905f856aa79a (diff) |
kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE
I'm currently using CROSS_COMPILE="ccache arm-linux-". With that the bash
builtin command "type" searches for ccache and arm-linux-mkimage and so sets
MKIMAGE="/path/to/ccache" as I don't have arm-linux-mkimage. Then the script
dies with an error, that ccache doesn't support the argument -A.
This patch adds some quoting such that it works again for me.
Please note that this patch doesn't help you if you use ${CROSSCOMPILE}-mkimage
and ccache as mkuboot.sh now searches for the command
"ccache arm-linux-mkimage".
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkuboot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh index 4b06c5eea728..2e3d3cd916b8 100755 --- a/scripts/mkuboot.sh +++ b/scripts/mkuboot.sh | |||
@@ -4,7 +4,7 @@ | |||
4 | # Build U-Boot image when `mkimage' tool is available. | 4 | # Build U-Boot image when `mkimage' tool is available. |
5 | # | 5 | # |
6 | 6 | ||
7 | MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage) | 7 | MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage") |
8 | 8 | ||
9 | if [ -z "${MKIMAGE}" ]; then | 9 | if [ -z "${MKIMAGE}" ]; then |
10 | MKIMAGE=$(type -path mkimage) | 10 | MKIMAGE=$(type -path mkimage) |