diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-10-16 02:04:59 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-11-29 14:10:22 +0100 |
| commit | 77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (patch) | |
| tree | 8f4bf1ca9cd3aea68214bc93ab5a586401979f47 /console-tools | |
| parent | 75fbff1326674b768cee66f32e3799d5bff5e194 (diff) | |
| download | busybox-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 'console-tools')
| -rw-r--r-- | console-tools/loadfont.c | 1 | ||||
| -rw-r--r-- | console-tools/openvt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 81a0e6aa8..3f36cabe0 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | //config:config LOADFONT | 12 | //config:config LOADFONT |
| 13 | //config: bool "loadfont (5.2 kb)" | 13 | //config: bool "loadfont (5.2 kb)" |
| 14 | //config: default y | 14 | //config: default y |
| 15 | //config: select PLATFORM_LINUX | ||
| 15 | //config: help | 16 | //config: help |
| 16 | //config: This program loads a console font from standard input. | 17 | //config: This program loads a console font from standard input. |
| 17 | //config: | 18 | //config: |
diff --git a/console-tools/openvt.c b/console-tools/openvt.c index db2f073b2..9e6cffecc 100644 --- a/console-tools/openvt.c +++ b/console-tools/openvt.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | //config:config OPENVT | 10 | //config:config OPENVT |
| 11 | //config: bool "openvt (7.2 kb)" | 11 | //config: bool "openvt (7.2 kb)" |
| 12 | //config: default y | 12 | //config: default y |
| 13 | //config: select PLATFORM_LINUX | ||
| 13 | //config: help | 14 | //config: help |
| 14 | //config: This program is used to start a command on an unused | 15 | //config: This program is used to start a command on an unused |
| 15 | //config: virtual terminal. | 16 | //config: virtual terminal. |
