[U-Boot] [PATCH 3/3 V2] common: Add .u_boot_list into all linker files

Marek Vasut marex at denx.de
Tue Sep 25 18:54:21 CEST 2012


Dear Otavio Salvador,

> On Tue, Sep 25, 2012 at 1:12 PM, Marek Vasut <marex at denx.de> wrote:
> > Add section for the linker-generated lists into all possible linker
> > files, so that everyone can easily use these lists. This is mostly
> > a mechanical adjustment.
> > 
> > Signed-off-by: Marek Vasut <marex at denx.de>
> > Cc: Joe Hershberger <joe.hershberger at gmail.com>
> > Cc: Mike Frysinger <vapier at gentoo.org>
> 
> This has a mix of indentation; I did not check every file but it seems
> not consistent.

It's not due to the patch, but because the indent in those linker files is 
frakked up ... 

find . -name u-boot.lds | \
xargs -i sed -i "s/^\([ \t]*\)\(__u_boot_cmd_end[\t ]*=[\t ]*\.[\t ]*;
\)$/\1\2\n\n\1. = ALIGN(4);\n\1.u_boot_list : {\n\tINCLUDE u-boot.lst;\n\1}/" {}

Best regards,
Marek Vasut


More information about the U-Boot mailing list