diff mbox series

[1/1] bind: keep suboptions below option

Message ID 20220706030236.3818-1-danomimanchego123@gmail.com
State Accepted
Headers show
Series [1/1] bind: keep suboptions below option | expand

Commit Message

Danomi Manchego July 6, 2022, 3:02 a.m. UTC
Move kconfig comment to are "if BR2_PACKAGE_BIND" so that the two sub
options are presented in menuconfig as subordinate to "bind" package
selection rather than equal to it as if they were unrelated.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/bind/Config.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Thomas Petazzoni July 6, 2022, 9:46 p.m. UTC | #1
On Tue,  5 Jul 2022 23:02:36 -0400
Danomi Manchego <danomimanchego123@gmail.com> wrote:

> Move kconfig comment to are "if BR2_PACKAGE_BIND" so that the two sub
> options are presented in menuconfig as subordinate to "bind" package
> selection rather than equal to it as if they were unrelated.
> 
> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
> ---
>  package/bind/Config.in | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas
Peter Korsgaard July 23, 2022, 4:36 p.m. UTC | #2
>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:

 > Move kconfig comment to are "if BR2_PACKAGE_BIND" so that the two sub
 > options are presented in menuconfig as subordinate to "bind" package
 > selection rather than equal to it as if they were unrelated.

 > Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>

Committed to 2022.05.x and 2022.02.x, thanks.
diff mbox series

Patch

diff --git a/package/bind/Config.in b/package/bind/Config.in
index 9887403ed9..63ccd57db7 100644
--- a/package/bind/Config.in
+++ b/package/bind/Config.in
@@ -29,11 +29,6 @@  config BR2_PACKAGE_BIND
 
 	  https://www.isc.org/bind/
 
-comment "bind needs a toolchain w/ NPTL, dynamic library"
-	depends on BR2_USE_MMU
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
-
 if BR2_PACKAGE_BIND
 
 config BR2_PACKAGE_BIND_SERVER
@@ -47,3 +42,8 @@  config BR2_PACKAGE_BIND_TOOLS
 	  Install tools (dig, host, nslookup, nsupdate)
 
 endif
+
+comment "bind needs a toolchain w/ NPTL, dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS