Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/tcl: move comment around, to keep proper indentation
@ 2015-12-28 16:58 Thomas Petazzoni
  2015-12-30 19:10 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2015-12-28 16:58 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=ac371770de69b5ee5f15eed7dd790558b8835d7d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/tcl/Config.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/tcl/Config.in b/package/tcl/Config.in
index 63d1b25..f1fa054 100644
--- a/package/tcl/Config.in
+++ b/package/tcl/Config.in
@@ -1,3 +1,7 @@
+comment "tcl needs a toolchain w/ threads, dynamic library"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+
 config BR2_PACKAGE_TCL
 	bool "tcl"
 	# fork()
@@ -11,10 +15,6 @@ config BR2_PACKAGE_TCL
 
 	  http://www.tcl.tk
 
-comment "tcl needs a toolchain w/ threads, dynamic library"
-	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
-
 if BR2_PACKAGE_TCL
 
 config BR2_PACKAGE_TCL_DEL_ENCODINGS

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit] package/tcl: move comment around, to keep proper indentation
  2015-12-28 16:58 [Buildroot] [git commit] package/tcl: move comment around, to keep proper indentation Thomas Petazzoni
@ 2015-12-30 19:10 ` Peter Korsgaard
  2015-12-30 20:17   ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2015-12-30 19:10 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

> commit: http://git.buildroot.net/buildroot/commit/?id=ac371770de69b5ee5f15eed7dd790558b8835d7d
> branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

> In Kconfig, when there is an item (like a comment) between a symbol and
> its dependees, then the indentation is not in effect.

> Move the symbol to the top of the file to guarantee the indentation in
> menuconfig.

> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Thomas, it seems like you forgot to use the -s option to git am, please
try to remember.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [git commit] package/tcl: move comment around, to keep proper indentation
  2015-12-30 19:10 ` Peter Korsgaard
@ 2015-12-30 20:17   ` Thomas Petazzoni
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-12-30 20:17 UTC (permalink / raw)
  To: buildroot

Peter,

On Wed, 30 Dec 2015 20:10:42 +0100, Peter Korsgaard wrote:
> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> 
> > commit: http://git.buildroot.net/buildroot/commit/?id=ac371770de69b5ee5f15eed7dd790558b8835d7d
> > branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> > In Kconfig, when there is an item (like a comment) between a symbol and
> > its dependees, then the indentation is not in effect.
> 
> > Move the symbol to the top of the file to guarantee the indentation in
> > menuconfig.
> 
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> Thomas, it seems like you forgot to use the -s option to git am, please
> try to remember.

Hum, right. But in fact it is due to the fact that I did not "git am"
such patches. Yann sent them to the list, then immediately marked them
as RFC in Patchwork, so that they were no longer visible in the list of
pending patches in Patchwork.

So, rather than fetching them with patchwork, I simply "git
cherry-pick"ed them from Yann's Git repo. So the process to get those
patches was not the classical one, hence I forgot to add my SoB line.

Otherwise, I use my "git pwam" alias, which automatically adds my SoB
line, so I can't forget it.

That being said, this is not an excuse, so sorry for the mess. But it
explains why those 6 patches didn't have my SoB line.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-30 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-28 16:58 [Buildroot] [git commit] package/tcl: move comment around, to keep proper indentation Thomas Petazzoni
2015-12-30 19:10 ` Peter Korsgaard
2015-12-30 20:17   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox