diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-09-12 14:03:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-12 14:03:56 +0000 |
commit | 7b3cea4df3142e05205421a7a3aace98b3233b65 (patch) | |
tree | 10c91059ca964f5270480666e7702006a1b44526 /tools | |
parent | e5cb74003db663b8e48e71d7908409067900d7be (diff) | |
download | rockbox-7b3cea4df3142e05205421a7a3aace98b3233b65.tar.gz rockbox-7b3cea4df3142e05205421a7a3aace98b3233b65.zip |
the script sets ARCHOS_RECORDER instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2276 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/bdf2fnt | 6 | ||||
-rw-r--r-- | tools/loadrbf.c | 1 | ||||
-rw-r--r-- | tools/writerbf.c | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/tools/bdf2fnt b/tools/bdf2fnt index 97b8292ba4..1466a0f1ef 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 -DFONT=font_$1 -I../firmware -o /tmp/writerbf writerbf.c /tmp/$1.c | 17 | gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -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 -DMAX_FONT_SIZE=500000 -o /tmp/loadrbf loadrbf.c | 24 | gcc -DARCHOS_RECORDER -DMAX_FONT_SIZE=500000 -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 -DFONT=font_$1 -I../firmware -o /tmp/loadrbf loadrbf.c /tmp/$1.c | 29 | gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -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 | ||
diff --git a/tools/loadrbf.c b/tools/loadrbf.c index 50cb03d2fe..769195ea99 100644 --- a/tools/loadrbf.c +++ b/tools/loadrbf.c | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | 11 | ||
12 | /* this should go in a library...*/ | 12 | /* this should go in a library...*/ |
13 | #define ARCHOS_RECORDER | ||
14 | #define DEBUGF printf | 13 | #define DEBUGF printf |
15 | #include "../firmware/loadfont.c" | 14 | #include "../firmware/loadfont.c" |
16 | 15 | ||
diff --git a/tools/writerbf.c b/tools/writerbf.c index 7936d07421..b3ba8649ac 100644 --- a/tools/writerbf.c +++ b/tools/writerbf.c | |||
@@ -6,7 +6,6 @@ | |||
6 | * Copyright (c) 2002 by Greg Haerr <greg@censoft.com> | 6 | * Copyright (c) 2002 by Greg Haerr <greg@censoft.com> |
7 | */ | 7 | */ |
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #define ARCHOS_RECORDER | ||
10 | #include "../firmware/font.h" | 9 | #include "../firmware/font.h" |
11 | 10 | ||
12 | extern MWCFONT FONT; | 11 | extern MWCFONT FONT; |