* [Buildroot] [git commit] package/qemu: fix indentation for host-qemu sub-options in menuconfig
@ 2022-12-23 16:31 Yann E. MORIN
2023-01-01 17:57 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2022-12-23 16:31 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=037226b33b42fb22234694fe1fcb0b6db624161f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Commit 255acdc14365 (package/qemu: needs gcc >= 8) added a comment that
explains that host-qemu would not be available for gcc < 4.8.
However, it interspersed that comment between the main symbol and the
conditional block with the sub-options. This breaks the indentation of
the sub-options in menuconfig, where they appear at the same level as
the main symbol, rather than indented below it.
Fix that by moving the comment before the main symbol.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/qemu/Config.in.host | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index f9cdb9b703..8dd0c7d11b 100644
--- a/package/qemu/Config.in.host
+++ b/package/qemu/Config.in.host
@@ -34,6 +34,11 @@ config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
bool
default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
+comment "host-qemu needs a host gcc >= 8"
+ depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \
+ BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT
+ depends on !BR2_HOST_GCC_AT_LEAST_8
+
config BR2_PACKAGE_HOST_QEMU
bool "host qemu"
depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
@@ -50,11 +55,6 @@ config BR2_PACKAGE_HOST_QEMU
http://www.qemu.org
-comment "host-qemu needs a host gcc >= 8"
- depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \
- BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT
- depends on !BR2_HOST_GCC_AT_LEAST_8
-
if BR2_PACKAGE_HOST_QEMU
comment "Emulators selection"
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [git commit] package/qemu: fix indentation for host-qemu sub-options in menuconfig
2022-12-23 16:31 [Buildroot] [git commit] package/qemu: fix indentation for host-qemu sub-options in menuconfig Yann E. MORIN
@ 2023-01-01 17:57 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2023-01-01 17:57 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=037226b33b42fb22234694fe1fcb0b6db624161f
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> Commit 255acdc14365 (package/qemu: needs gcc >= 8) added a comment that
> explains that host-qemu would not be available for gcc < 4.8.
> However, it interspersed that comment between the main symbol and the
> conditional block with the sub-options. This breaks the indentation of
> the sub-options in menuconfig, where they appear at the same level as
> the main symbol, rather than indented below it.
> Fix that by moving the comment before the main symbol.
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-01 17:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 16:31 [Buildroot] [git commit] package/qemu: fix indentation for host-qemu sub-options in menuconfig Yann E. MORIN
2023-01-01 17:57 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.