package/jailhouse: fix misc details in Config.in
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 10 Nov 2019 13:26:26 +0000 (14:26 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 10 Nov 2019 18:30:37 +0000 (19:30 +0100)
This commit fixes a number of small minor details in the jailhouse
Config.in file:

 - The Config.in comment is in the middle of the main
   BR2_PACKAGE_JAILHOUSE option and its sub-options, causing the
   sub-options to not be indented properly in menuconfig

 - jailhouse was capitalized as Jailhouse, while all Buildroot
   packages in menuconfig use small letters, so use "jailhouse"
   everywhere

 - no need to repeat "jailhouse" in the prompt of the sub-option for
   helper scripts, since it is not properly indented under the main
   jailhouse option. Ditto in the comment when python is disabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - further drop 'jailhouse' from the helper scripts comment when
    python is not enabled
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/jailhouse/Config.in

index d270a2ae8e5cab190a7842e1313d1f469f794e2c..596b4951dbc823d3a5cd7500123afe28431f914f 100644 (file)
@@ -1,5 +1,5 @@
 config BR2_PACKAGE_JAILHOUSE
-       bool "Jailhouse"
+       bool "jailhouse"
        depends on BR2_aarch64 || BR2_x86_64
        depends on BR2_LINUX_KERNEL
        help
@@ -7,14 +7,10 @@ config BR2_PACKAGE_JAILHOUSE
 
          https://github.com/siemens/jailhouse
 
-comment "Jailhouse needs a Linux kernel to be built"
-       depends on BR2_aarch64 || BR2_x86_64
-       depends on !BR2_LINUX_KERNEL
-
 if BR2_PACKAGE_JAILHOUSE
 
 config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS
-       bool "Jailhouse helper scripts"
+       bool "helper scripts"
        depends on BR2_PACKAGE_PYTHON
        select BR2_PACKAGE_PYTHON_MAKO # runtime
        help
@@ -22,7 +18,11 @@ config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS
 
          https://github.com/siemens/jailhouse
 
-comment "Jailhouse helper scripts require Python"
+comment "helper scripts require Python"
        depends on !BR2_PACKAGE_PYTHON
 
 endif
+
+comment "jailhouse needs a Linux kernel to be built"
+       depends on BR2_aarch64 || BR2_x86_64
+       depends on !BR2_LINUX_KERNEL