aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-10-16 02:04:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2022-11-29 14:10:22 +0100
commit77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (patch)
tree8f4bf1ca9cd3aea68214bc93ab5a586401979f47 /procps
parent75fbff1326674b768cee66f32e3799d5bff5e194 (diff)
downloadbusybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.gz
busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.bz2
busybox-w32-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.zip
Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on Linux only. Some features are also Linux-only. Also, libresolv is used on all GNU platforms, notably GNU/Hurd and GNU/kfreeBSD. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r--procps/free.c1
-rw-r--r--procps/uptime.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/procps/free.c b/procps/free.c
index 0b68e1b88..c734f757d 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -9,6 +9,7 @@
9//config:config FREE 9//config:config FREE
10//config: bool "free (3.1 kb)" 10//config: bool "free (3.1 kb)"
11//config: default y 11//config: default y
12//config: select PLATFORM_LINUX
12//config: help 13//config: help
13//config: free displays the total amount of free and used physical and swap 14//config: free displays the total amount of free and used physical and swap
14//config: memory in the system, as well as the buffers used by the kernel. 15//config: memory in the system, as well as the buffers used by the kernel.
diff --git a/procps/uptime.c b/procps/uptime.c
index 4fd0c9d2d..4992c263e 100644
--- a/procps/uptime.c
+++ b/procps/uptime.c
@@ -14,6 +14,7 @@
14//config:config UPTIME 14//config:config UPTIME
15//config: bool "uptime (3.7 kb)" 15//config: bool "uptime (3.7 kb)"
16//config: default y 16//config: default y
17//config: select PLATFORM_LINUX
17//config: help 18//config: help
18//config: uptime gives a one line display of the current time, how long 19//config: uptime gives a one line display of the current time, how long
19//config: the system has been running, how many users are currently logged 20//config: the system has been running, how many users are currently logged