diff mbox

[08/83,v2] package/libdrm: use 'menuconfig' instead of 'config'+'menu'

Message ID 480ef600cac5b7e6233b663c5f779603c302d3b8.1467624132.git.yann.morin.1998@free.fr
State Accepted
Headers show

Commit Message

Yann E. MORIN July 4, 2016, 9:24 a.m. UTC
Transform the menu prompt into a comment.

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

---
Changes RFC -> v1:
  - drop the comment  (Arnout)
---
 package/libdrm/Config.in | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

Thomas Petazzoni July 4, 2016, 9:35 p.m. UTC | #1
Hello,

On Mon,  4 Jul 2016 11:24:19 +0200, Yann E. MORIN wrote:
> Transform the menu prompt into a comment.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> ---
> Changes RFC -> v1:
>   - drop the comment  (Arnout)
> ---
>  package/libdrm/Config.in | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)

I applied, but I discovered afterwards that the result now looks worse
than it was: there is now no indication that the
intel/nouveau/amdgpu/... options are DRM drivers.

Thomas
diff mbox

Patch

diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 7bc73fd..3f39e27 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -1,4 +1,4 @@ 
-config BR2_PACKAGE_LIBDRM
+menuconfig BR2_PACKAGE_LIBDRM
 	bool "libdrm"
 	select BR2_PACKAGE_LIBPTHREAD_STUBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
@@ -18,8 +18,6 @@  config BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC
 	bool
 	select BR2_PACKAGE_LIBATOMIC_OPS if !BR2_TOOLCHAIN_HAS_SYNC_4
 
-menu "DRM Drivers"
-
 config BR2_PACKAGE_LIBDRM_INTEL
 	bool "intel"
 	select BR2_PACKAGE_LIBPCIACCESS
@@ -92,8 +90,6 @@  config BR2_PACKAGE_LIBDRM_VC4
 	help
 	  Install vc4 (Raspberry Pi) driver.
 
-endmenu
-
 config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
 	bool "Install test programs"
 	help