[U-Boot] [PATCH 2/4] build/mkconfig: Add EXTRA_OPTS argument to make to modify build
Mike Frysinger
vapier at gentoo.org
Fri Jun 3 06:49:51 CEST 2011
On Thursday, June 02, 2011 15:27:30 y at right.am.freescale.net wrote:
> --- a/mkconfig
> +++ b/mkconfig
> @@ -81,6 +81,12 @@ if [ "${ARCH}" -a "${ARCH}" != "${arch}" ]; then
> exit 1
> fi
>
> +if [ -z "${options}" ] ; then
> +options+=$EXTRA_OPTS
> +else
> +options+=,$EXTRA_OPTS
> +fi
style is broken (lacking indentation), and the "+=" operator is not in the
POSIX shell spec
-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/20110603/6aab7bcd/attachment.pgp
More information about the U-Boot
mailing list