diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-07-19 00:44:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-19 00:44:56 +0200 |
commit | 1d7266d3b59be361763dab61f680103bbb70f3e9 (patch) | |
tree | 631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc /util-linux | |
parent | b175462422f02a159a14dc5561d8bef6f84b2b66 (diff) | |
download | busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.gz busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.bz2 busybox-w32-1d7266d3b59be361763dab61f680103bbb70f3e9.zip |
mark Linux-specific configuration options
PLATFORM_LINUX is used as a dependency for applets or features
which require Linux-specific interfaces.
Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/Config.src | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/util-linux/Config.src b/util-linux/Config.src index 91d1fc2ce..98953c17b 100644 --- a/util-linux/Config.src +++ b/util-linux/Config.src | |||
@@ -10,6 +10,7 @@ INSERT | |||
10 | config ACPID | 10 | config ACPID |
11 | bool "acpid" | 11 | bool "acpid" |
12 | default y | 12 | default y |
13 | depends on PLATFORM_LINUX | ||
13 | help | 14 | help |
14 | acpid listens to ACPI events coming either in textual form from | 15 | acpid listens to ACPI events coming either in textual form from |
15 | /proc/acpi/event (though it is marked deprecated it is still widely | 16 | /proc/acpi/event (though it is marked deprecated it is still widely |
@@ -32,6 +33,7 @@ config FEATURE_ACPID_COMPAT | |||
32 | config BLKID | 33 | config BLKID |
33 | bool "blkid" | 34 | bool "blkid" |
34 | default y | 35 | default y |
36 | depends on PLATFORM_LINUX | ||
35 | select VOLUMEID | 37 | select VOLUMEID |
36 | help | 38 | help |
37 | Lists labels and UUIDs of all filesystems. | 39 | Lists labels and UUIDs of all filesystems. |
@@ -41,6 +43,7 @@ config BLKID | |||
41 | config DMESG | 43 | config DMESG |
42 | bool "dmesg" | 44 | bool "dmesg" |
43 | default y | 45 | default y |
46 | depends on PLATFORM_LINUX | ||
44 | help | 47 | help |
45 | dmesg is used to examine or control the kernel ring buffer. When the | 48 | dmesg is used to examine or control the kernel ring buffer. When the |
46 | Linux kernel prints messages to the system log, they are stored in | 49 | Linux kernel prints messages to the system log, they are stored in |
@@ -74,6 +77,7 @@ config FEATURE_DMESG_PRETTY | |||
74 | config FBSET | 77 | config FBSET |
75 | bool "fbset" | 78 | bool "fbset" |
76 | default y | 79 | default y |
80 | depends on PLATFORM_LINUX | ||
77 | help | 81 | help |
78 | fbset is used to show or change the settings of a Linux frame buffer | 82 | fbset is used to show or change the settings of a Linux frame buffer |
79 | device. The frame buffer device provides a simple and unique | 83 | device. The frame buffer device provides a simple and unique |
@@ -102,6 +106,7 @@ config FEATURE_FBSET_READMODE | |||
102 | config FDFLUSH | 106 | config FDFLUSH |
103 | bool "fdflush" | 107 | bool "fdflush" |
104 | default y | 108 | default y |
109 | depends on PLATFORM_LINUX | ||
105 | help | 110 | help |
106 | fdflush is only needed when changing media on slightly-broken | 111 | fdflush is only needed when changing media on slightly-broken |
107 | removable media drives. It is used to make Linux believe that a | 112 | removable media drives. It is used to make Linux believe that a |
@@ -114,12 +119,14 @@ config FDFLUSH | |||
114 | config FDFORMAT | 119 | config FDFORMAT |
115 | bool "fdformat" | 120 | bool "fdformat" |
116 | default y | 121 | default y |
122 | depends on PLATFORM_LINUX | ||
117 | help | 123 | help |
118 | fdformat is used to low-level format a floppy disk. | 124 | fdformat is used to low-level format a floppy disk. |
119 | 125 | ||
120 | config FDISK | 126 | config FDISK |
121 | bool "fdisk" | 127 | bool "fdisk" |
122 | default y | 128 | default y |
129 | depends on PLATFORM_LINUX | ||
123 | help | 130 | help |
124 | The fdisk utility is used to divide hard disks into one or more | 131 | The fdisk utility is used to divide hard disks into one or more |
125 | logical disks, which are generally called partitions. This utility | 132 | logical disks, which are generally called partitions. This utility |
@@ -187,6 +194,7 @@ config FEATURE_FDISK_ADVANCED | |||
187 | config FINDFS | 194 | config FINDFS |
188 | bool "findfs" | 195 | bool "findfs" |
189 | default y | 196 | default y |
197 | depends on PLATFORM_LINUX | ||
190 | select VOLUMEID | 198 | select VOLUMEID |
191 | help | 199 | help |
192 | Prints the name of a filesystem with given label or UUID. | 200 | Prints the name of a filesystem with given label or UUID. |
@@ -202,6 +210,7 @@ config FLOCK | |||
202 | config FREERAMDISK | 210 | config FREERAMDISK |
203 | bool "freeramdisk" | 211 | bool "freeramdisk" |
204 | default y | 212 | default y |
213 | depends on PLATFORM_LINUX | ||
205 | help | 214 | help |
206 | Linux allows you to create ramdisks. This utility allows you to | 215 | Linux allows you to create ramdisks. This utility allows you to |
207 | delete them and completely free all memory that was used for the | 216 | delete them and completely free all memory that was used for the |
@@ -224,12 +233,14 @@ config FSCK_MINIX | |||
224 | config MKFS_EXT2 | 233 | config MKFS_EXT2 |
225 | bool "mkfs_ext2" | 234 | bool "mkfs_ext2" |
226 | default y | 235 | default y |
236 | depends on PLATFORM_LINUX | ||
227 | help | 237 | help |
228 | Utility to create EXT2 filesystems. | 238 | Utility to create EXT2 filesystems. |
229 | 239 | ||
230 | config MKFS_MINIX | 240 | config MKFS_MINIX |
231 | bool "mkfs_minix" | 241 | bool "mkfs_minix" |
232 | default y | 242 | default y |
243 | depends on PLATFORM_LINUX | ||
233 | help | 244 | help |
234 | The minix filesystem is a nice, small, compact, read-write filesystem | 245 | The minix filesystem is a nice, small, compact, read-write filesystem |
235 | with little overhead. If you wish to be able to create minix | 246 | with little overhead. If you wish to be able to create minix |
@@ -247,6 +258,7 @@ config FEATURE_MINIX2 | |||
247 | config MKFS_REISER | 258 | config MKFS_REISER |
248 | bool "mkfs_reiser" | 259 | bool "mkfs_reiser" |
249 | default n | 260 | default n |
261 | depends on PLATFORM_LINUX | ||
250 | help | 262 | help |
251 | Utility to create ReiserFS filesystems. | 263 | Utility to create ReiserFS filesystems. |
252 | Note: this applet needs a lot of testing and polishing. | 264 | Note: this applet needs a lot of testing and polishing. |
@@ -254,6 +266,7 @@ config MKFS_REISER | |||
254 | config MKFS_VFAT | 266 | config MKFS_VFAT |
255 | bool "mkfs_vfat" | 267 | bool "mkfs_vfat" |
256 | default y | 268 | default y |
269 | depends on PLATFORM_LINUX | ||
257 | help | 270 | help |
258 | Utility to create FAT32 filesystems. | 271 | Utility to create FAT32 filesystems. |
259 | 272 | ||
@@ -302,6 +315,7 @@ config HD | |||
302 | config HWCLOCK | 315 | config HWCLOCK |
303 | bool "hwclock" | 316 | bool "hwclock" |
304 | default y | 317 | default y |
318 | depends on PLATFORM_LINUX | ||
305 | help | 319 | help |
306 | The hwclock utility is used to read and set the hardware clock | 320 | The hwclock utility is used to read and set the hardware clock |
307 | on a system. This is primarily used to set the current time on | 321 | on a system. This is primarily used to set the current time on |
@@ -341,6 +355,7 @@ config IPCRM | |||
341 | config IPCS | 355 | config IPCS |
342 | bool "ipcs" | 356 | bool "ipcs" |
343 | default y | 357 | default y |
358 | depends on PLATFORM_LINUX | ||
344 | select FEATURE_SUID | 359 | select FEATURE_SUID |
345 | help | 360 | help |
346 | The ipcs utility is used to provide information on the currently | 361 | The ipcs utility is used to provide information on the currently |
@@ -349,6 +364,7 @@ config IPCS | |||
349 | config LOSETUP | 364 | config LOSETUP |
350 | bool "losetup" | 365 | bool "losetup" |
351 | default y | 366 | default y |
367 | depends on PLATFORM_LINUX | ||
352 | help | 368 | help |
353 | losetup is used to associate or detach a loop device with a regular | 369 | losetup is used to associate or detach a loop device with a regular |
354 | file or block device, and to query the status of a loop device. This | 370 | file or block device, and to query the status of a loop device. This |
@@ -357,6 +373,7 @@ config LOSETUP | |||
357 | config LSPCI | 373 | config LSPCI |
358 | bool "lspci" | 374 | bool "lspci" |
359 | default y | 375 | default y |
376 | #depends on PLATFORM_LINUX | ||
360 | help | 377 | help |
361 | lspci is a utility for displaying information about PCI buses in the | 378 | lspci is a utility for displaying information about PCI buses in the |
362 | system and devices connected to them. | 379 | system and devices connected to them. |
@@ -366,6 +383,7 @@ config LSPCI | |||
366 | config LSUSB | 383 | config LSUSB |
367 | bool "lsusb" | 384 | bool "lsusb" |
368 | default y | 385 | default y |
386 | #depends on PLATFORM_LINUX | ||
369 | help | 387 | help |
370 | lsusb is a utility for displaying information about USB buses in the | 388 | lsusb is a utility for displaying information about USB buses in the |
371 | system and devices connected to them. | 389 | system and devices connected to them. |
@@ -375,6 +393,7 @@ config LSUSB | |||
375 | config MDEV | 393 | config MDEV |
376 | bool "mdev" | 394 | bool "mdev" |
377 | default y | 395 | default y |
396 | depends on PLATFORM_LINUX | ||
378 | help | 397 | help |
379 | mdev is a mini-udev implementation for dynamically creating device | 398 | mdev is a mini-udev implementation for dynamically creating device |
380 | nodes in the /dev directory. | 399 | nodes in the /dev directory. |
@@ -473,6 +492,7 @@ config FEATURE_USE_TERMIOS | |||
473 | config MOUNT | 492 | config MOUNT |
474 | bool "mount" | 493 | bool "mount" |
475 | default y | 494 | default y |
495 | depends on PLATFORM_LINUX | ||
476 | help | 496 | help |
477 | All files and filesystems in Unix are arranged into one big directory | 497 | All files and filesystems in Unix are arranged into one big directory |
478 | tree. The 'mount' utility is used to graft a filesystem onto a | 498 | tree. The 'mount' utility is used to graft a filesystem onto a |
@@ -555,6 +575,7 @@ config FEATURE_MOUNT_FSTAB | |||
555 | config PIVOT_ROOT | 575 | config PIVOT_ROOT |
556 | bool "pivot_root" | 576 | bool "pivot_root" |
557 | default y | 577 | default y |
578 | depends on PLATFORM_LINUX | ||
558 | help | 579 | help |
559 | The pivot_root utility swaps the mount points for the root filesystem | 580 | The pivot_root utility swaps the mount points for the root filesystem |
560 | with some other mounted filesystem. This allows you to do all sorts | 581 | with some other mounted filesystem. This allows you to do all sorts |
@@ -582,12 +603,14 @@ config RDEV | |||
582 | config READPROFILE | 603 | config READPROFILE |
583 | bool "readprofile" | 604 | bool "readprofile" |
584 | default y | 605 | default y |
606 | #depends on PLATFORM_LINUX | ||
585 | help | 607 | help |
586 | This allows you to parse /proc/profile for basic profiling. | 608 | This allows you to parse /proc/profile for basic profiling. |
587 | 609 | ||
588 | config RTCWAKE | 610 | config RTCWAKE |
589 | bool "rtcwake" | 611 | bool "rtcwake" |
590 | default y | 612 | default y |
613 | depends on PLATFORM_LINUX | ||
591 | help | 614 | help |
592 | Enter a system sleep state until specified wakeup time. | 615 | Enter a system sleep state until specified wakeup time. |
593 | 616 | ||
@@ -607,6 +630,7 @@ config SCRIPTREPLAY | |||
607 | config SETARCH | 630 | config SETARCH |
608 | bool "setarch" | 631 | bool "setarch" |
609 | default y | 632 | default y |
633 | depends on PLATFORM_LINUX | ||
610 | help | 634 | help |
611 | The linux32 utility is used to create a 32bit environment for the | 635 | The linux32 utility is used to create a 32bit environment for the |
612 | specified program (usually a shell). It only makes sense to have | 636 | specified program (usually a shell). It only makes sense to have |
@@ -616,6 +640,7 @@ config SETARCH | |||
616 | config SWAPONOFF | 640 | config SWAPONOFF |
617 | bool "swaponoff" | 641 | bool "swaponoff" |
618 | default y | 642 | default y |
643 | depends on PLATFORM_LINUX | ||
619 | help | 644 | help |
620 | This option enables both the 'swapon' and the 'swapoff' utilities. | 645 | This option enables both the 'swapon' and the 'swapoff' utilities. |
621 | Once you have created some swap space using 'mkswap', you also need | 646 | Once you have created some swap space using 'mkswap', you also need |
@@ -634,6 +659,7 @@ config FEATURE_SWAPON_PRI | |||
634 | config SWITCH_ROOT | 659 | config SWITCH_ROOT |
635 | bool "switch_root" | 660 | bool "switch_root" |
636 | default y | 661 | default y |
662 | depends on PLATFORM_LINUX | ||
637 | help | 663 | help |
638 | The switch_root utility is used from initramfs to select a new | 664 | The switch_root utility is used from initramfs to select a new |
639 | root device. Under initramfs, you have to use this instead of | 665 | root device. Under initramfs, you have to use this instead of |
@@ -653,6 +679,7 @@ config SWITCH_ROOT | |||
653 | config UMOUNT | 679 | config UMOUNT |
654 | bool "umount" | 680 | bool "umount" |
655 | default y | 681 | default y |
682 | depends on PLATFORM_LINUX | ||
656 | help | 683 | help |
657 | When you want to remove a mounted filesystem from its current mount | 684 | When you want to remove a mounted filesystem from its current mount |
658 | point, for example when you are shutting down the system, the | 685 | point, for example when you are shutting down the system, the |