Re: [PATCH v2] scripts: imx: report file where error occurred

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 28, 2019 at 05:37:08PM +0100, Ahmad Fatoum wrote:
> Especially when using #include directives in imxcfg files, error
> messages can be hard to follow because line numbers differ between
> preprocessor and source files. Teach the imx image generation tool about
> preprocessing line number / file name directive, so it can give more
> useful error messages. Instead of:
> 
>   error in line 11: Invalid argument
> 
> It now says:
> 
>   $barebox/arch/arm/boards/$som/flash-header-$board.imxcfg:5: Invalid argument
> 
> No change in compiled barebox binaries.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux