package: move busybox show others dependency to per-package

Having the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependencies in
package/Config.in is not very practical: it makes this file not very
readable, and puts the dependency away from the package itself, which
can sometimes be confusing. Therefore, this commit moves the dependency
in each package Config.in file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni
2016-07-04 15:46:56 +02:00
committed by Peter Korsgaard
parent 011d684c0b
commit 1dbd7b9910
43 changed files with 59 additions and 64 deletions

View File

@@ -4,6 +4,7 @@ config BR2_PACKAGE_IFUPDOWN
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # iproute2
# Default/our uclibc lacks wordexp()
depends on !BR2_TOOLCHAIN_USES_UCLIBC
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
# runtime for ip binary
select BR2_PACKAGE_IPROUTE2 if !BR2_PACKAGE_BUSYBOX
# runtime for run-parts
@@ -17,3 +18,4 @@ comment "ifupdown needs a glibc or musl toolchain w/ headers >= 3.0"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS