aboutsummaryrefslogtreecommitdiff
path: root/console-tools/loadfont.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 10:39:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 10:39:27 +0100
commit6d9329935c0621ddc056aee0d30cec52a24da499 (patch)
tree8b78faf3893c364337b138a9e8c20bfa4a286273 /console-tools/loadfont.c
parentc19f7584e14522043da141189711c8db72dfbc90 (diff)
downloadbusybox-w32-6d9329935c0621ddc056aee0d30cec52a24da499.tar.gz
busybox-w32-6d9329935c0621ddc056aee0d30cec52a24da499.tar.bz2
busybox-w32-6d9329935c0621ddc056aee0d30cec52a24da499.zip
Convert all console-tools/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r--console-tools/loadfont.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 58073e0dc..52605baa1 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -9,6 +9,57 @@
9 * 9 *
10 * Licensed under GPLv2, see file LICENSE in this source tree. 10 * Licensed under GPLv2, see file LICENSE in this source tree.
11 */ 11 */
12//config:config LOADFONT
13//config: bool "loadfont"
14//config: default y
15//config: select PLATFORM_LINUX
16//config: help
17//config: This program loads a console font from standard input.
18//config:
19//config:config SETFONT
20//config: bool "setfont"
21//config: default y
22//config: select PLATFORM_LINUX
23//config: help
24//config: Allows to load console screen map. Useful for i18n.
25//config:
26//config:config FEATURE_SETFONT_TEXTUAL_MAP
27//config: bool "Support reading textual screen maps"
28//config: default y
29//config: depends on SETFONT
30//config: help
31//config: Support reading textual screen maps.
32//config:
33//config:config DEFAULT_SETFONT_DIR
34//config: string "Default directory for console-tools files"
35//config: default ""
36//config: depends on SETFONT
37//config: help
38//config: Directory to use if setfont's params are simple filenames
39//config: (not /path/to/file or ./file). Default is "" (no default directory).
40//config:
41//config:comment "Common options for loadfont and setfont"
42//config: depends on LOADFONT || SETFONT
43//config:
44//config:config FEATURE_LOADFONT_PSF2
45//config: bool "Support for PSF2 console fonts"
46//config: default y
47//config: depends on LOADFONT || SETFONT
48//config: help
49//config: Support PSF2 console fonts.
50//config:
51//config:config FEATURE_LOADFONT_RAW
52//config: bool "Support for old (raw) console fonts"
53//config: default y
54//config: depends on LOADFONT || SETFONT
55//config: help
56//config: Support old (raw) console fonts.
57
58//applet:IF_LOADFONT(APPLET(loadfont, BB_DIR_USR_SBIN, BB_SUID_DROP))
59//applet:IF_SETFONT(APPLET(setfont, BB_DIR_USR_SBIN, BB_SUID_DROP))
60
61//kbuild:lib-$(CONFIG_LOADFONT) += loadfont.o
62//kbuild:lib-$(CONFIG_SETFONT) += loadfont.o
12 63
13//usage:#define loadfont_trivial_usage 64//usage:#define loadfont_trivial_usage
14//usage: "< font" 65//usage: "< font"