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:
parent
68bf125feb
commit
819378bf9d
4 changed files with 10 additions and 10 deletions
|
|
@ -423,7 +423,7 @@ sub runone {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($sim) {
|
if($sim) {
|
||||||
system("cp -r .rockbox archos/ >/dev/null");
|
system("cp -r .rockbox simdisk/ >/dev/null");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
system("$ziptool $output .rockbox $target >/dev/null");
|
system("$ziptool $output .rockbox $target >/dev/null");
|
||||||
|
|
|
||||||
8
tools/configure
vendored
8
tools/configure
vendored
|
|
@ -2132,11 +2132,11 @@ if [ "yes" = "$simulator" ]; then
|
||||||
# setup compiler and things for simulator
|
# setup compiler and things for simulator
|
||||||
simcc
|
simcc
|
||||||
|
|
||||||
if [ -d "archos" ]; then
|
if [ -d "simdisk" ]; then
|
||||||
echo "sub directory archos already present"
|
echo "Subdirectory 'simdisk' already present"
|
||||||
else
|
else
|
||||||
mkdir archos
|
mkdir simdisk
|
||||||
echo "created an archos subdirectory for simulating the hard disk"
|
echo "Created a 'simdisk' subdirectory for simulating the hard disk"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -252,12 +252,12 @@ endif
|
||||||
ifdef SIMVER
|
ifdef SIMVER
|
||||||
|
|
||||||
install:
|
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; \
|
$(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)
|
$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" -f 0 $(TARGET) $(BINARY)
|
||||||
|
|
||||||
fullinstall:
|
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; \
|
$(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)
|
$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(MODELNAME)$$feat\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" -f 2 $(TARGET) $(BINARY)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ void dircache_rename(const char *oldpath, const char *newpath);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define SIMULATOR_DEFAULT_ROOT "archos"
|
#define SIMULATOR_DEFAULT_ROOT "simdisk"
|
||||||
extern const char *sim_root_dir;
|
extern const char *sim_root_dir;
|
||||||
|
|
||||||
static int num_openfiles = 0;
|
static int num_openfiles = 0;
|
||||||
|
|
@ -585,7 +585,7 @@ int sim_fsync(int fd)
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#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)
|
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];
|
char buf[MAX_PATH];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
snprintf(path, sizeof(path), "archos%s", plugin);
|
snprintf(path, sizeof(path), SIMULATOR_DEFAULT_ROOT "%s", plugin);
|
||||||
|
|
||||||
*pd = NULL;
|
*pd = NULL;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue