From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1X4V0D-0002CE-CD for ptxdist@pengutronix.de; Tue, 08 Jul 2014 15:00:10 +0200 Received: by mail-wi0-f180.google.com with SMTP id hi2so939945wib.7 for ; Tue, 08 Jul 2014 06:00:03 -0700 (PDT) From: Alexander Aring Date: Tue, 8 Jul 2014 14:59:24 +0200 Message-Id: <1404824365-7638-1-git-send-email-alex.aring@gmail.com> Subject: [ptxdist] [RFC] ptxd_make_dts_dtb: error handling Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alexander Aring 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