lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 19 Dec 2006 12:21:35 -0800
From:	Andrew Morton <akpm@...l.org>
To:	"Mike Frysinger" <vapier.adi@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [patch] search a little harder for mkimage

On Tue, 19 Dec 2006 00:20:42 -0500
"Mike Frysinger" <vapier.adi@...il.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@...too.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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ