diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/bdf2fnt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/bdf2fnt b/tools/bdf2fnt index 1466a0f1ef..2793d11764 100755 --- a/tools/bdf2fnt +++ b/tools/bdf2fnt | |||
@@ -14,19 +14,19 @@ | |||
14 | ./bdf2c $1.bdf > /tmp/$1.c | 14 | ./bdf2c $1.bdf > /tmp/$1.c |
15 | 15 | ||
16 | # compile writerbf with linked C source font | 16 | # compile writerbf with linked C source font |
17 | gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -o /tmp/writerbf writerbf.c /tmp/$1.c | 17 | gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -I../firmware/common -o /tmp/writerbf writerbf.c /tmp/$1.c |
18 | 18 | ||
19 | # run writerbf, will write linked incore font to .rbf format | 19 | # run writerbf, will write linked incore font to .rbf format |
20 | /tmp/writerbf | 20 | /tmp/writerbf |
21 | rm /tmp/writerbf | 21 | rm /tmp/writerbf |
22 | 22 | ||
23 | # load .rbf font and display it for test | 23 | # load .rbf font and display it for test |
24 | gcc -DARCHOS_RECORDER -DMAX_FONT_SIZE=500000 -o /tmp/loadrbf loadrbf.c | 24 | gcc -DARCHOS_RECORDER -DMAX_FONT_SIZE=500000 -I../firmware/common -o /tmp/loadrbf loadrbf.c |
25 | /tmp/loadrbf $1.fnt > /tmp/$1.1 | 25 | /tmp/loadrbf $1.fnt > /tmp/$1.1 |
26 | rm /tmp/loadrbf | 26 | rm /tmp/loadrbf |
27 | 27 | ||
28 | # link .c font and diff with .fnt load for test | 28 | # link .c font and diff with .fnt load for test |
29 | gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -o /tmp/loadrbf loadrbf.c /tmp/$1.c | 29 | gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -I../firmware/common -o /tmp/loadrbf loadrbf.c /tmp/$1.c |
30 | /tmp/loadrbf > /tmp/$1.2 | 30 | /tmp/loadrbf > /tmp/$1.2 |
31 | rm /tmp/loadrbf | 31 | rm /tmp/loadrbf |
32 | 32 | ||