rbpaths: Add new special dir HOME_DIR for RaaA.
commit20b662a946861b5acee8970948a22f7a2d1aedf3
authorThomas Martitz <kugel@rockbox.org>
Sun, 25 Dec 2011 20:11:18 +0000 (25 20:11 +0000)
committerThomas Martitz <kugel@rockbox.org>
Sun, 25 Dec 2011 20:11:18 +0000 (25 20:11 +0000)
tree392d9568a3baaa23be0e109799485255ddcd067f
parent16784598ac550dab147ea8ee15634a2f15739fff
rbpaths: Add new special dir HOME_DIR for RaaA.

HOME_DIR is intended for not-so-advanced files which shall be user
visible, and thus not in /.rockbox. Therefore HOME_DIR is translated
to $HOME on RaaA, /sdcard on android, the internal memory on ypr0
and "/" on native targets.

ROCKBOX_DIR ("/.rockbox") already existed as special and is translated
to whatever the real rockbox dir is on the target (e.g. /sdcard/rockbox
on android), but it's not suitable for some files we generate
(e.g. battery-bench.txt).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31430 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/battery_bench.c
apps/plugins/test_codec.c
apps/plugins/test_disk.c
apps/plugins/test_gfx.c
apps/plugins/test_grey.c
firmware/common/rbpaths.c
firmware/export/rbpaths.h
firmware/general.c