diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-07-06 15:11:56 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-07-06 15:11:56 +0000 |
commit | 31b5c471aeec6040ca69e3bea59c0825e2a6fc9d (patch) | |
tree | 628d7638a50ab226d5164f495d14d56ed2b51a1f /tools/configure | |
parent | 9da707955dcdefa1b7a55348937eb706a08039b5 (diff) | |
download | rockbox-31b5c471aeec6040ca69e3bea59c0825e2a6fc9d.tar.gz rockbox-31b5c471aeec6040ca69e3bea59c0825e2a6fc9d.zip |
Rockbox as an application: Add an 320x240 SDL application target.
It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR.
It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index 79032c006e..1b88c30a6f 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -971,8 +971,9 @@ cat <<EOF | |||
971 | 142) YH-925 ==Packard Bell== 130) Lyre proto 1 | 971 | 142) YH-925 ==Packard Bell== 130) Lyre proto 1 |
972 | 143) YP-S3 160) Vibe 500 131) Mini2440 | 972 | 143) YP-S3 160) Vibe 500 131) Mini2440 |
973 | 973 | ||
974 | ==MPIO== | 974 | ==MPIO== == Application == |
975 | 170) HD200 | 975 | 170) HD200 200) SDL 320x240 |
976 | |||
976 | EOF | 977 | EOF |
977 | 978 | ||
978 | buildfor=`input`; | 979 | buildfor=`input`; |
@@ -2600,6 +2601,28 @@ fi | |||
2600 | t_model="hd200" | 2601 | t_model="hd200" |
2601 | ;; | 2602 | ;; |
2602 | 2603 | ||
2604 | 200|app*) | ||
2605 | target_id=100 | ||
2606 | modelname="application" | ||
2607 | target="-DAPPLICATION" | ||
2608 | memory=32 | ||
2609 | uname=`uname` | ||
2610 | simcc "sdl" | ||
2611 | tool="cp " | ||
2612 | boottool="cp " | ||
2613 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
2614 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
2615 | output="rockbox" | ||
2616 | bootoutput="bootloader-cowond2.bin" | ||
2617 | appextra="recorder:gui:radio" | ||
2618 | plugins="" | ||
2619 | swcodec="yes" | ||
2620 | # architecture, manufacturer and model for the target-tree build | ||
2621 | t_cpu="hosted" | ||
2622 | t_manufacturer="sdl" | ||
2623 | t_model="app" | ||
2624 | ;; | ||
2625 | |||
2603 | *) | 2626 | *) |
2604 | echo "Please select a supported target platform!" | 2627 | echo "Please select a supported target platform!" |
2605 | exit 7 | 2628 | exit 7 |