From: Sascha Hauer <s.hauer@pengutronix.de>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] scripts: socfpga_get_sequencer: convert potential CRLF to LF
Date: Mon, 15 Aug 2016 10:18:28 +0200 [thread overview]
Message-ID: <20160815081828.GT20657@pengutronix.de> (raw)
In-Reply-To: <1470653469-24896-1-git-send-email-s.trumtrar@pengutronix.de>
On Mon, Aug 08, 2016 at 12:51:09PM +0200, Steffen Trumtrar wrote:
> If u-boot was generated under a DOS system, the sequencer files will have CRLF
> linebreaks. The indent-tool has problems with this and as a result the code
> will not compile anymore.
> Fix up any CRLFs prior with the dos2unix tool.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
> scripts/socfpga_get_sequencer | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/scripts/socfpga_get_sequencer b/scripts/socfpga_get_sequencer
> index fb0ea6628b2a..e0f2e6de2abd 100755
> --- a/scripts/socfpga_get_sequencer
> +++ b/scripts/socfpga_get_sequencer
> @@ -24,6 +24,8 @@ copy_source() {
>
> unifdef -f ${sequencer_defines} $tgt -o $tgt
>
> + dos2unix $tgt
> +
> echo " Fixing extern/static keywords..."
> # Statify all global variables with missing static keyword
> sed -i 's/^\(extern \|static \|\)\([^*#\/ ][^(]* [^( ]*\((.*).*$\|=.*;.*$\)\)/static \2/g' $tgt
> --
> 2.8.1
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2016-08-15 8:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-08 10:51 Steffen Trumtrar
2016-08-15 8:18 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160815081828.GT20657@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.trumtrar@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox