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 <[email protected]> > --- > 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: [email protected] Website: www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Chemnitz, HRB 28082 -- ptxdist mailing list [email protected]
