From: Yann E. MORIN Date: Thu, 5 Sep 2013 15:55:39 +0200 Subject: [Buildroot] [PATCH 4/4] toolchain/wrapper: add option to print one argument per line In-Reply-To: <52287DB7.6080008@lucaceresoli.net> References: <52287DB7.6080008@lucaceresoli.net> Message-ID: <20130905135539.GB3136@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Luca, All, On 2013-09-05 14:48 +0200, Luca Ceresoli spake thusly: > Yann E. MORIN wrote: > >From: "Yann E. MORIN" > > > >In case there are many arguments passed to the tools, the command line > >can get very long, and difficult to parse visually. > > > >For example, the Linux kernel passes a lot of arguments to gcc (at least > >45, which gives 53 with our hard-coded args). Looking at such a command > >line is daunting. > > > >So, add the possibility to print each argument on its own line. > > > >Also, enclose all args between single quotes, so the command line > >can be safely copy-pasted without special chars (spaces, $) being > >inrerpreted by the shell. > > > >Signed-off-by: "Yann E. MORIN" > > This feature should be mentioned in the docs. Well, for now, BR_DEBUG_WRAPPER is not even documented. But I agree this is missing; will add. > Apart for that: > > Acked-by: Luca Ceresoli > Tested-by: Luca Ceresoli > [Tested on arm_foundationv8_defconfig] I'll add those when I respin the patch. Thank you! :-) Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'