package/jpeg: properly indent in menuconfig
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Apr 2020 13:12:57 +0000 (15:12 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Apr 2020 13:30:58 +0000 (15:30 +0200)
Since there is a variable definition between the definition of
BR2_PACKAGE_JPEG and the choice depending on it, the choice is
not indented bewlo the "jpeg support" prompt, like we like to
have:

    [*] jpeg support
        jpeg variant (jpeg-turbo)  --->

Move the BR2_PACKAGE_JPEG right before the choice (really, move
BR2_PACKAGE_JPEG_SIMD_SUPPORT before BR2_PACKAGE_JPEG, but diff
finds the move of BR2_PACKAGE_JPEG is smaller to display):

    [*] jpeg support
          jpeg variant (jpeg-turbo)  --->

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/jpeg/Config.in

index 3d0fea83b182e1f8085b7315a7d9fc7d513e5137..97139c78496196306dfa890fc00c596740f15f27 100644 (file)
@@ -1,8 +1,3 @@
-config BR2_PACKAGE_JPEG
-       bool "jpeg support"
-       help
-         Select the desired JPEG library provider.
-
 # jpeg-turbo has simd support for some architectures
 config BR2_PACKAGE_JPEG_SIMD_SUPPORT
        bool
@@ -11,6 +6,11 @@ config BR2_PACKAGE_JPEG_SIMD_SUPPORT
        default y if BR2_POWERPC_CPU_HAS_ALTIVEC
        default y if BR2_aarch64 || BR2_aarch64_be
 
+config BR2_PACKAGE_JPEG
+       bool "jpeg support"
+       help
+         Select the desired JPEG library provider.
+
 if BR2_PACKAGE_JPEG
 
 choice