summaryrefslogtreecommitdiffstats
path: root/rules/usbutils.in
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2011-01-19 16:37:30 +0100
committerJuergen Beisert <jbe@pengutronix.de>2011-01-19 16:37:30 +0100
commitb05a0f3c4f53858dc00d4cc5e68ecb88355aa98a (patch)
treec24929d02367e99a201df5159c47c94b47881140 /rules/usbutils.in
parent40f40560b39b64656383f8a88d0cac155e6b3138 (diff)
downloadptxdist-b05a0f3c4f53858dc00d4cc5e68ecb88355aa98a.tar.gz
ptxdist-b05a0f3c4f53858dc00d4cc5e68ecb88355aa98a.tar.xz
usbutils: Only the lsusb entry should be disabled, when busybox' lsusb is enabled
Parts of usbutils are also used from udev. So only the installation of the lsusb command should depend on busybox' settings. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Diffstat (limited to 'rules/usbutils.in')
-rw-r--r--rules/usbutils.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/rules/usbutils.in b/rules/usbutils.in
index 052989ce3..3f573e907 100644
--- a/rules/usbutils.in
+++ b/rules/usbutils.in
@@ -2,7 +2,6 @@
menuconfig USBUTILS
select LIBUSB_COMPAT
- depends on !BUSYBOX_LSUSB || ALLYES
tristate
prompt "usbutils "
help
@@ -17,9 +16,11 @@ menuconfig USBUTILS
More information can be found at the Linux USB web site
http://www.linux-usb.org/usbutils
+if USBUTILS
+
config USBUTILS_LSUSB
bool
- depends on USBUTILS
+ depends on !BUSYBOX_LSUSB || ALLYES
prompt "lsusb"
help
lsusb - list the devices connected to a host
@@ -34,3 +35,5 @@ config USBUTILS_LSUSB
comment "busybox' lsusb is selected"
depends on BUSYBOX_LSUSB
+
+endif