From: Mike Frysinger Date: Fri, 3 Jun 2011 00:49:51 -0400 Subject: [U-Boot] [PATCH 2/4] build/mkconfig: Add EXTRA_OPTS argument to make to modify build In-Reply-To: <1307042852-10385-2-git-send-email-y> References: <1307042852-10385-1-git-send-email-y> <1307042852-10385-2-git-send-email-y> Message-ID: <201106030049.52598.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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