mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alexander Aring <alex.aring@gmail.com>
Subject: [ptxdist] [RFC] ptxd_make_dts_dtb: error handling
Date: Tue,  8 Jul 2014 14:59:24 +0200	[thread overview]
Message-ID: <1404824365-7638-1-git-send-email-alex.aring@gmail.com> (raw)

Hi,

I had some syntax error on one of my dts files. Yes sometimes I do some
mistakes ;-).

Nevertheless ptxdist images runs fine and used the old dtb files in the
images directory. It took some time to realize that I had this error.

This patch adds a error handling for dtc. It's a RFC only. I don't know
if we should compare to string or numbers in calling of test and maybe we
should add eror handling for c preprocessor also.

btw: the spaces instead tabs in scripts/lib/ptxd_make_dts_dtc.sh are correct?
I just adapt it.

- Alex

Alexander Aring (1):
  ptxd_make_dts_dtb: check on failure if dtc failed

 scripts/lib/ptxd_make_dts_dtc.sh | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.0.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2014-07-08 13:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-08 12:59 Alexander Aring [this message]
2014-07-08 12:59 ` [ptxdist] [RFC] ptxd_make_dts_dtb: check on failure if dtc failed Alexander Aring
2014-07-08 13:22   ` Marc Kleine-Budde
2014-07-08 13:24     ` Alexander Aring
2014-07-08 13:30       ` Marc Kleine-Budde
2014-07-08 13:46         ` Alexander Aring
2014-07-08 14:07           ` Marc Kleine-Budde

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=1404824365-7638-1-git-send-email-alex.aring@gmail.com \
    --to=alex.aring@gmail.com \
    --cc=ptxdist@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