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
This commit is contained in:
Frank Gevaerts 2012-03-03 18:54:47 +01:00
parent f7a4ee2ddc
commit c6d20104eb
5 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
# $Id: checkwps.make 22680 2009-09-11 17:58:17Z gevaerts $
#
DBDEFINES=-g -DDEBUG -D__PCTOOL__ -DSIMULATOR
DBDEFINES=-g -DDEBUG -D__PCTOOL__
CFLAGS+=$(DBDEFINES)
createsrc = $(shell cat $(1) > $(3); echo "\#if CONFIG_CODEC == SWCODEC" >> $(3); \