mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Mike Frysinger" <vapier.adi@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] search a little harder for mkimage
Date: Tue, 19 Dec 2006 12:21:35 -0800	[thread overview]
Message-ID: <20061219122135.8100b198.akpm@osdl.org> (raw)
In-Reply-To: <8bd0f97a0612182120q30361eceq6219b509f8add29a@mail.gmail.com>

On Tue, 19 Dec 2006 00:20:42 -0500
"Mike Frysinger" <vapier.adi@gmail.com> wrote:

> this small patch checks to see if `${CROSS_COMPILE}mkimage` exists and
> if not, fall back to the standard `mkimage`
> 
> the Blackfin toolchain includes mkimage, but we dont want to namespace
> collide with any of the user's system setup, so we prefix it with our
> toolchain name
> -mike
> 
> 
> [check-cross-compile-mkimage.patch  text/x-patch (708B)]
> Check to see if the mkimage tool is part of the cross-compile toolchain.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> 
> --- a/linux-2.6/scripts/mkuboot.sh
> +++ b/linux-2.6/scripts/mkuboot.sh
> @@ -4,12 +4,15 @@
>  # Build U-Boot image when `mkimage' tool is available.
>  #
>  
> -MKIMAGE=$(type -path mkimage)
> +MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage)

Do all bash versions support `type -path'?

Perhaps /usr/bin/which would be safer, dunno.


  reply	other threads:[~2006-12-19 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19  5:20 Mike Frysinger
2006-12-19 20:21 ` Andrew Morton [this message]
2006-12-19 22:05   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061219122135.8100b198.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vapier.adi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®