With the new 'lsof' of busybox, add the usual check to avoid conflicts
during building the image (two lsof binaries).

Signed-off-by: Bernhard Walle <[email protected]>
---
 rules/lsof.in |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/rules/lsof.in b/rules/lsof.in
index 048a9ab..f32026e 100644
--- a/rules/lsof.in
+++ b/rules/lsof.in
@@ -1,7 +1,10 @@
 ## SECTION=shell_and_console
+comment "BusyBox' lsof is selected!"
+       depends on BUSYBOX_LSOF
 
 config LSOF
        tristate
+       depends on !BUSYBOX_LSOF || ALLYES
        prompt "lsof"
        help
          Lsof is a Unix-specific diagnostic tool.  Its name stands
-- 
1.7.9.5


-- 
ptxdist mailing list
[email protected]

Reply via email to