diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-03-03 18:54:47 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-03-03 18:54:47 +0100 |
commit | c6d20104eb1ba2beae266dff7eba655b9ab9576e (patch) | |
tree | 3d09bf6bb74b4d5a065c12ad732b76c68b28d340 /tools/database/database.make | |
parent | f7a4ee2ddce3e32551e209cccaf19d6d0f041600 (diff) | |
download | rockbox-c6d20104eb1ba2beae266dff7eba655b9ab9576e.tar.gz rockbox-c6d20104eb1ba2beae266dff7eba655b9ab9576e.zip |
Fix __PCTOOL__ dependencies on SIMULATOR
* filesize() is not POSIX, so it doesn't need stubbing or redirecting
* make the various directory functions use the sim_ versions for PCTOOL
* PCTOOL needs generic byteswap functions
* fix the database makefile to not use -DSIMULATOR anymore
Change-Id: Ic6abc4f662830b85626c751a472fa4a03e844871
Diffstat (limited to 'tools/database/database.make')
-rw-r--r-- | tools/database/database.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/database/database.make b/tools/database/database.make index 920acebd5d..7d02a461bd 100644 --- a/tools/database/database.make +++ b/tools/database/database.make | |||
@@ -7,7 +7,7 @@ | |||
7 | # $Id: checkwps.make 22680 2009-09-11 17:58:17Z gevaerts $ | 7 | # $Id: checkwps.make 22680 2009-09-11 17:58:17Z gevaerts $ |
8 | # | 8 | # |
9 | 9 | ||
10 | DBDEFINES=-g -DDEBUG -D__PCTOOL__ -DSIMULATOR | 10 | DBDEFINES=-g -DDEBUG -D__PCTOOL__ |
11 | CFLAGS+=$(DBDEFINES) | 11 | CFLAGS+=$(DBDEFINES) |
12 | 12 | ||
13 | createsrc = $(shell cat $(1) > $(3); echo "\#if CONFIG_CODEC == SWCODEC" >> $(3); \ | 13 | createsrc = $(shell cat $(1) > $(3); echo "\#if CONFIG_CODEC == SWCODEC" >> $(3); \ |