[Buildroot] [PATCH] toolchain: Remove useless printf

Maxime Hadjinlian maxime.hadjinlian at gmail.com
Sun Oct 4 11:29:53 UTC 2015


On Sun, Oct 4, 2015 at 1:27 PM, Yann E. MORIN <yann.morin.1998 at free.fr>
wrote:

> Maxime, All,
>
> On 2015-10-04 13:17 +0200, Maxime Hadjinlian spake thusly:
> > Introduced by previous patch 0f75b2635ee564fbbdb9ea631cf39fa8731d6d6c,
> > this printf doesn't serve any purposes.
>
> This is even worth than that. It actually breaks the build because there
> is not format to printf:
>     printf: usage: printf [-v var] format [arguments]
>
> So the glibc build fails.
>
> With that fixed in the commit log;
>
>     Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>
>
> > Signed-off-by Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
>
> And I think this would also be valid;
>
> Reported-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>
Yes, I noticed I forgot that when I hit 'y' on git send-email, sorry :/.
Should I send a v2 with a better commit log or should it be done when the
commit is done ?

>
> ;-)
>
> Regards,
> Yann E. MORIN.
>
> > ---
> >  toolchain/helpers.mk | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
> > index a4fa815..1452ec6 100644
> > --- a/toolchain/helpers.mk
> > +++ b/toolchain/helpers.mk
> > @@ -79,9 +79,7 @@ copy_toolchain_lib_root = \
> >                       fi ; \
> >                       LIBPATH="`readlink -f $${LIBPATH}`"; \
> >               done; \
> > -     done; \
> > -\
> > -     printf
> > +     done
> >
> >  #
> >  # Copy the full external toolchain sysroot directory to the staging
> > --
> > 2.5.3
> >
>
> --
>
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___
>      |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There
> is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v
>  conspiracy.  |
>
> '------------------------------^-------^------------------^--------------------'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151004/3ece82e3/attachment-0002.html>


More information about the buildroot mailing list