[U-Boot] [PATCH] mkconfig: deny messed up ARCH definition
Mike Frysinger
vapier at gentoo.org
Sat Oct 31 22:40:58 CET 2009
On Saturday 31 October 2009 10:12:01 Nishanth Menon wrote:
> Refuse to setup a platform if the command
> line ARCH= is not the same as the one
> required for the board. This prevents
> any user with prehistoric aliases from
> messing up thier builds
seems like excessive line wrapping
> +if [ ! -z "$ARCH" -a "$ARCH" != "$2" ]; then
is the !-z really needed ?
> + echo "ARCH=$ARCH while ${BOARD_NAME} arch=$2: fail"
should be sent to stderr: 1>&2
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091031/aca0c43e/attachment.pgp
More information about the U-Boot
mailing list