]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE
authorUwe kleine-König <ukleinek@informatik.uni-freiburg.de>
Wed, 28 Mar 2007 14:55:55 +0000 (16:55 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:10 +0000 (20:58 +0200)
commitf03e1666d6164da6f098dc1a2e539eced3e4461a
tree95baa00ef23b0c41c372204cef4413d21b5af2b8
parente711db3edfe7c0e32b6430e7d041905f856aa79a
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>
scripts/mkuboot.sh