aboutsummaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
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 /util-linux/swaponoff.c
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 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index e2ff4b5cc..567869cc7 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -9,6 +9,7 @@
9//config:config SWAPON 9//config:config SWAPON
10//config: bool "swapon (15 kb)" 10//config: bool "swapon (15 kb)"
11//config: default y 11//config: default y
12//config: select PLATFORM_LINUX
12//config: help 13//config: help
13//config: Once you have created some swap space using 'mkswap', you also need 14//config: Once you have created some swap space using 'mkswap', you also need
14//config: to enable your swap space with the 'swapon' utility. The 'swapoff' 15//config: to enable your swap space with the 'swapon' utility. The 'swapoff'
@@ -35,6 +36,7 @@
35//config:config SWAPOFF 36//config:config SWAPOFF
36//config: bool "swapoff (14 kb)" 37//config: bool "swapoff (14 kb)"
37//config: default y 38//config: default y
39//config: select PLATFORM_LINUX
38//config: 40//config:
39//config:config FEATURE_SWAPONOFF_LABEL 41//config:config FEATURE_SWAPONOFF_LABEL
40//config: bool "Support specifying devices by label or UUID" 42//config: bool "Support specifying devices by label or UUID"