1
0
Fork 0
forked from len0rd/rockbox

Renamed simulator disk directory from 'archos' to 'simdisk'.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19204 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2008-11-24 20:32:57 +00:00
parent 68bf125feb
commit 819378bf9d
4 changed files with 10 additions and 10 deletions

View file

@ -423,7 +423,7 @@ sub runone {
}
if($sim) {
system("cp -r .rockbox archos/ >/dev/null");
system("cp -r .rockbox simdisk/ >/dev/null");
}
else {
system("$ziptool $output .rockbox $target >/dev/null");

8
tools/configure vendored
View file

@ -2132,11 +2132,11 @@ if [ "yes" = "$simulator" ]; then
# setup compiler and things for simulator
simcc
if [ -d "archos" ]; then
echo "sub directory archos already present"
if [ -d "simdisk" ]; then
echo "Subdirectory 'simdisk' already present"
else
mkdir archos
echo "created an archos subdirectory for simulating the hard disk"
mkdir simdisk
echo "Created a 'simdisk' subdirectory for simulating the hard disk"
fi
fi

View file

@ -252,12 +252,12 @@ endif
ifdef SIMVER
install:
@echo "Installing your build in your archos dir"
@echo "Installing your build in your 'simdisk' dir"
$(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" -f 0 $(TARGET) $(BINARY)
fullinstall:
@echo "Installing a full setup in your archos dir"
@echo "Installing a full setup in your 'simdisk' dir"
$(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" -f 2 $(TARGET) $(BINARY)

View file

@ -144,7 +144,7 @@ void dircache_rename(const char *oldpath, const char *newpath);
#endif
#define SIMULATOR_DEFAULT_ROOT "archos"
#define SIMULATOR_DEFAULT_ROOT "simdisk"
extern const char *sim_root_dir;
static int num_openfiles = 0;
@ -585,7 +585,7 @@ int sim_fsync(int fd)
#include <dlfcn.h>
#endif
#define TEMP_CODEC_FILE "archos/_temp_codec%d.dll"
#define TEMP_CODEC_FILE SIMULATOR_DEFAULT_ROOT "/_temp_codec%d.dll"
void *sim_codec_load_ram(char* codecptr, int size, void **pd)
{
@ -657,7 +657,7 @@ void *sim_plugin_load(char *plugin, void **pd)
char buf[MAX_PATH];
#endif
snprintf(path, sizeof(path), "archos%s", plugin);
snprintf(path, sizeof(path), SIMULATOR_DEFAULT_ROOT "%s", plugin);
*pd = NULL;