From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XJGRc-00017g-S0 for ptxdist@pengutronix.de; Mon, 18 Aug 2014 08:29:29 +0200 Received: from imapserver.systec-electronic.com (unknown [212.185.67.148]) by webbox1416.server-home.net (Postfix) with ESMTPA id 0808D27A6CF for ; Mon, 18 Aug 2014 07:59:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by imapserver.systec-electronic.com (Postfix) with ESMTP id 2DE61DA0C74 for ; Mon, 18 Aug 2014 08:29:28 +0200 (CEST) Received: from imapserver.systec-electronic.com ([127.0.0.1]) by localhost (imapserver.systec-electronic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ILMUR2VtiRFU for ; Mon, 18 Aug 2014 08:29:23 +0200 (CEST) Received: from ws-stein.localnet (unknown [192.168.10.109]) by imapserver.systec-electronic.com (Postfix) with ESMTPA id D3EB2DA00F8 for ; Mon, 18 Aug 2014 08:29:23 +0200 (CEST) From: Alexander Stein Date: Mon, 18 Aug 2014 08:26:08 +0200 Message-ID: <1978324.dTbILepGmV@ws-stein> In-Reply-To: <1407134971-3887-1-git-send-email-alexander.stein@systec-electronic.com> References: <1407134971-3887-1-git-send-email-alexander.stein@systec-electronic.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [PATCH] dtc: Do not inhibit linemarker generation Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Monday 04 August 2014 08:49:31, Alexander Stein wrote: > Without linemarkers the error messages are somehwat useless. > To demonstrate I picked a random .dts file file from the arm tree in > linux sources: > DTC ptx-testprj_arm/platform/images/vf610-twr.dtb > Error: /tmp/testprj/platform/state/vf610-twr.dts.tmp:366.1-5 syntax error > FATAL ERROR: Unable to parse input tree > > If linemarkers are inserted the error message clearly states in which file > which line caused the error: > > DTC ptx-testprj_arm/platform/images/vf610-twr.dtb > Error: /tmp/testprj/platform/build-target/linux/arch/arm/boot/dts/vf610-twr.dts:13.1-5 syntax error > FATAL ERROR: Unable to parse input tree > > Signed-off-by: Alexander Stein > --- > scripts/lib/ptxd_make_dts_dtc.sh | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/scripts/lib/ptxd_make_dts_dtc.sh b/scripts/lib/ptxd_make_dts_dtc.sh > index d5e8c59..3ee0897 100644 > --- a/scripts/lib/ptxd_make_dts_dtc.sh > +++ b/scripts/lib/ptxd_make_dts_dtc.sh > @@ -41,7 +41,6 @@ ptxd_make_dts_dtb() { > -Wp,-MD,${tmp_deps} \ > -Wp,-MT,${tmp_dts} \ > -nostdinc \ > - -P \ > -I$(dirname "${dts}") \ > -I${dts_kernel_dir}/arch/${dts_kernel_arch}/boot/dts \ > -I${dts_kernel_dir}/arch/${dts_kernel_arch}/boot/dts/include \ > Any feedback on this? Regards, Alexander -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH Am Windrad 2 08468 Heinsdorfergrund Tel.: 03765 38600-1156 Fax: 03765 38600-4100 Email: alexander.stein@systec-electronic.com Website: www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Chemnitz, HRB 28082 -- ptxdist mailing list ptxdist@pengutronix.de