package/m*/Config.in: fix ordering of statements

The check-package script when ran gives warnings on ordering issues
on all of these Config files.  This patch cleans up all warnings
related to the ordering in the Config files for packages starting with
the letter m in the package directory.

The appropriate ordering is: type, default, depends on, select, help
See http://nightly.buildroot.org/#_config_files for more information.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Adam Duskett 2017-04-22 13:17:59 -04:00 committed by Thomas Petazzoni
parent 190b2b409c
commit 5f14d03632
13 changed files with 24 additions and 24 deletions

View file

@ -1,11 +1,11 @@
config BR2_PACKAGE_MALI_T76X config BR2_PACKAGE_MALI_T76X
bool "mali-t76x" bool "mali-t76x"
select BR2_PACKAGE_MESA3D_HEADERS
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_ARM_EABIHF depends on BR2_ARM_EABIHF
depends on BR2_arm depends on BR2_arm
select BR2_PACKAGE_MESA3D_HEADERS
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
help help
Install the binary user-space components for the ARM Mali Midgard Install the binary user-space components for the ARM Mali Midgard
T76X GPU. This package requires a kernel with the ARM Mali Midgard T76X GPU. This package requires a kernel with the ARM Mali Midgard

View file

@ -1,7 +1,7 @@
config BR2_PACKAGE_MATCHBOX_COMMON config BR2_PACKAGE_MATCHBOX_COMMON
bool "matchbox-common" bool "matchbox-common"
select BR2_PACKAGE_MATCHBOX_LIB
depends on BR2_PACKAGE_MATCHBOX_PANEL || BR2_PACKAGE_MATCHBOX_DESKTOP depends on BR2_PACKAGE_MATCHBOX_PANEL || BR2_PACKAGE_MATCHBOX_DESKTOP
select BR2_PACKAGE_MATCHBOX_LIB
help help
Common desktop folders and matchbox-session script. Common desktop folders and matchbox-session script.

View file

@ -1,8 +1,8 @@
config BR2_PACKAGE_MEDIASTREAMER config BR2_PACKAGE_MEDIASTREAMER
bool "mediastreamer" bool "mediastreamer"
select BR2_PACKAGE_ORTP
depends on BR2_INSTALL_LIBSTDCPP # ortp depends on BR2_INSTALL_LIBSTDCPP # ortp
depends on BR2_TOOLCHAIN_HAS_THREADS # ortp depends on BR2_TOOLCHAIN_HAS_THREADS # ortp
select BR2_PACKAGE_ORTP
help help
Mediastreamer is a powerful and lightweighted streaming Mediastreamer is a powerful and lightweighted streaming
engine specialized for voice/video telephony applications. engine specialized for voice/video telephony applications.

View file

@ -1,10 +1,10 @@
config BR2_PACKAGE_MENU_CACHE config BR2_PACKAGE_MENU_CACHE
bool "menu-cache" bool "menu-cache"
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBFM_EXTRA
depends on BR2_USE_WCHAR # libglib2 depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2 depends on BR2_USE_MMU # libglib2
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBFM_EXTRA
help help
Small library from LXDE project used for application menu Small library from LXDE project used for application menu
integration integration

View file

@ -1,11 +1,11 @@
config BR2_PACKAGE_MESA3D_DEMOS config BR2_PACKAGE_MESA3D_DEMOS
bool "mesa3d-demos" bool "mesa3d-demos"
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES \
|| BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBOPENVG
select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 && BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES \
|| BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBOPENVG
help help
OpenGL demos from the Mesa 3D project. OpenGL demos from the Mesa 3D project.

View file

@ -24,14 +24,14 @@ if BR2_PACKAGE_MESA3D
# inform the .mk file of gallium, dri or vulkan driver selection # inform the .mk file of gallium, dri or vulkan driver selection
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
select BR2_PACKAGE_MESA3D_DRIVER
bool bool
select BR2_PACKAGE_MESA3D_DRIVER
config BR2_PACKAGE_MESA3D_DRI_DRIVER config BR2_PACKAGE_MESA3D_DRI_DRIVER
bool
select BR2_PACKAGE_MESA3D_DRIVER select BR2_PACKAGE_MESA3D_DRIVER
select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XPROTO_DRI3PROTO select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XPROTO_DRI3PROTO
select BR2_PACKAGE_XPROTO_PRESENTPROTO if BR2_PACKAGE_XPROTO_DRI3PROTO select BR2_PACKAGE_XPROTO_PRESENTPROTO if BR2_PACKAGE_XPROTO_DRI3PROTO
bool
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER config BR2_PACKAGE_MESA3D_VULKAN_DRIVER
bool bool

View file

@ -1,7 +1,7 @@
config BR2_PACKAGE_MICROPYTHON_LIB config BR2_PACKAGE_MICROPYTHON_LIB
bool "micropython-lib" bool "micropython-lib"
select BR2_PACKAGE_PCRE # runtime
depends on BR2_PACKAGE_MICROPYTHON depends on BR2_PACKAGE_MICROPYTHON
select BR2_PACKAGE_PCRE # runtime
help help
Core Python libraries ported to MicroPython. Core Python libraries ported to MicroPython.

View file

@ -1,10 +1,10 @@
config BR2_PACKAGE_MICROPYTHON config BR2_PACKAGE_MICROPYTHON
bool "micropython" bool "micropython"
select BR2_PACKAGE_LIBFFI
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS
# libffi doesn't provide the closure implementation on Blackfin # libffi doesn't provide the closure implementation on Blackfin
depends on !BR2_bfin depends on !BR2_bfin
select BR2_PACKAGE_LIBFFI
help help
Micro Python is a lean and fast implementation of the Python 3 Micro Python is a lean and fast implementation of the Python 3
programming language that is optimised to run on a microcontroller. programming language that is optimised to run on a microcontroller.

View file

@ -5,6 +5,12 @@ comment "midori needs libgtk3 and a glibc toolchain w/ C++, gcc >= 4.9"
config BR2_PACKAGE_MIDORI config BR2_PACKAGE_MIDORI
bool "midori" bool "midori"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, gcr, gnupg2
depends on BR2_PACKAGE_LIBGTK3
depends on BR2_INSTALL_LIBSTDCPP # webkitgtk
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # webkitgtk
depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
# GCR can only be used with the X11 backend # GCR can only be used with the X11 backend
select BR2_PACKAGE_GCR if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_GCR if BR2_PACKAGE_LIBGTK3_X11
select BR2_PACKAGE_GRANITE select BR2_PACKAGE_GRANITE
@ -15,12 +21,6 @@ config BR2_PACKAGE_MIDORI
select BR2_PACKAGE_WEBKITGTK select BR2_PACKAGE_WEBKITGTK
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, gcr, gnupg2
depends on BR2_PACKAGE_LIBGTK3
depends on BR2_INSTALL_LIBSTDCPP # webkitgtk
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # webkitgtk
depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk
depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS
help help
Midori is a lightweight web browser based on WebKit Midori is a lightweight web browser based on WebKit

View file

@ -1,9 +1,9 @@
config BR2_PACKAGE_MJPEGTOOLS config BR2_PACKAGE_MJPEGTOOLS
bool "mjpegtools" bool "mjpegtools"
select BR2_PACKAGE_JPEG
depends on BR2_USE_MMU # fork depends on BR2_USE_MMU # fork
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_JPEG
help help
The mjpegtools programs are a set of tools The mjpegtools programs are a set of tools
that can do recording of videos and playback, that can do recording of videos and playback,

View file

@ -14,12 +14,12 @@ comment "mongrel2 needs a uClibc or glibc toolchain w/ C++, threads, dynamic lib
config BR2_PACKAGE_MONGREL2 config BR2_PACKAGE_MONGREL2
bool "mongrel2" bool "mongrel2"
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_ZEROMQ
depends on BR2_INSTALL_LIBSTDCPP # zeromq depends on BR2_INSTALL_LIBSTDCPP # zeromq
depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
depends on !BR2_STATIC_LIBS # uses dlopen() depends on !BR2_STATIC_LIBS # uses dlopen()
depends on BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS depends on BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_ZEROMQ
help help
Mongrel2 is an application, language, and network architecture Mongrel2 is an application, language, and network architecture
agnostic web server that focuses on web applications using agnostic web server that focuses on web applications using

View file

@ -1,8 +1,8 @@
config BR2_PACKAGE_MTDEV2TUIO config BR2_PACKAGE_MTDEV2TUIO
bool "mtdev2tuio" bool "mtdev2tuio"
depends on BR2_TOOLCHAIN_HAS_THREADS # liblo
select BR2_PACKAGE_LIBLO select BR2_PACKAGE_LIBLO
select BR2_PACKAGE_MTDEV select BR2_PACKAGE_MTDEV
depends on BR2_TOOLCHAIN_HAS_THREADS # liblo
help help
mtdev2tuio is a simple application for converting touch mtdev2tuio is a simple application for converting touch
events captured from libmtdev to TUIO 1.1 events captured from libmtdev to TUIO 1.1

View file

@ -1,7 +1,7 @@
config BR2_PACKAGE_MUSL config BR2_PACKAGE_MUSL
bool bool
depends on BR2_TOOLCHAIN_USES_MUSL
default y default y
depends on BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LINUX_HEADERS select BR2_PACKAGE_LINUX_HEADERS
# SSP broken on i386/ppc: http://www.openwall.com/lists/musl/2016/12/04/2 # SSP broken on i386/ppc: http://www.openwall.com/lists/musl/2016/12/04/2
select BR2_TOOLCHAIN_HAS_SSP if !(BR2_i386 || BR2_powerpc) select BR2_TOOLCHAIN_HAS_SSP if !(BR2_i386 || BR2_powerpc)