summaryrefslogtreecommitdiffstats
path: root/package/lsof
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-26 00:15:24 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-29 10:52:39 +0200
commitd7616cc9be8b1c7d91df9133dac24a59bb2e19c8 (patch)
tree19d2945c829488e3b3a826d864526e23a41e5db0 /package/lsof
parentb59f9e1562395411d10b8137ffd69e0ab573c6e2 (diff)
downloadbuildroot-novena-d7616cc9be8b1c7d91df9133dac24a59bb2e19c8.tar.gz
buildroot-novena-d7616cc9be8b1c7d91df9133dac24a59bb2e19c8.zip
lsof: add busybox tweaks
Since busybox 1.20+ includes a lsof applet make sure lsof gets built after busybox so that we get the full-blown version if both are enabled. Also hide the lsof package unless BUSYBOX_SHOW_OTHERS is true. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lsof')
-rw-r--r--package/lsof/lsof.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk
index c07fb2da3..7bc22c01d 100644
--- a/package/lsof/lsof.mk
+++ b/package/lsof/lsof.mk
@@ -8,6 +8,9 @@ LSOF_VERSION = 4.85
LSOF_SOURCE = lsof_$(LSOF_VERSION).tar.bz2
LSOF_SITE = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
+# Make certain full-blown lsof gets built after the busybox version (1.20+)
+LSOF_DEPENDENCIES += $(if $(BR2_PACKAGE_BUSYBOX),busybox)
+
BR2_LSOF_CFLAGS =
ifeq ($(BR2_LARGEFILE),)
BR2_LSOF_CFLAGS += -U_FILE_OFFSET_BITS