Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f03e1666d6164da6f098dc1a2e539eced3e4461a
Commit:     f03e1666d6164da6f098dc1a2e539eced3e4461a
Parent:     e711db3edfe7c0e32b6430e7d041905f856aa79a
Author:     Uwe kleine-König <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 28 16:55:55 2007 +0200
Committer:  Sam Ravnborg <[EMAIL PROTECTED]>
CommitDate: Wed May 2 20:58:10 2007 +0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
---
 scripts/mkuboot.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh
index 4b06c5e..2e3d3cd 100755
--- a/scripts/mkuboot.sh
+++ b/scripts/mkuboot.sh
@@ -4,7 +4,7 @@
 # Build U-Boot image when `mkimage' tool is available.
 #
 
-MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage)
+MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")
 
 if [ -z "${MKIMAGE}" ]; then
        MKIMAGE=$(type -path mkimage)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to