Re[2]: [PATCH 1/2] defaultenv-2: Select CMD_ECHO & CMD_ECHO_E by default

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

 



Fri, 12 Oct 2012 11:24:08 +0200 от Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>:
> On 10:50 Fri 12 Oct     , Alexander Shiyan wrote:
> > Command is used in the scripts and it should be compiled in.
> > 
> > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx>
> > ---
> >  common/Kconfig |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/common/Kconfig b/common/Kconfig
> > index 9210739..2783405 100644
> > --- a/common/Kconfig
> > +++ b/common/Kconfig
> > @@ -564,6 +564,8 @@ config DEFAULT_ENVIRONMENT_GENERIC_NEW
> >  	select CMD_GLOBAL
> >  	select CMD_AUTOMOUNT
> >  	select CMD_BASENAME
> > +	select CMD_ECHO
> > +	select CMD_ECHO_E
> ECHO_E need to be optionnal as you may not want the color support

For example, command below is not work properly without this option:
echo -e -n "\nHit any key to stop autoboot: "
shows as:

running /env/bin/init...
\nHit any key to stop autoboot:  0
^^

and with CMD_ECHO_E option result is normal:
running /env/bin/init...

Hit any key to stop autoboot:  0

_______________________________________________
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