1
0
Fork 0
forked from len0rd/rockbox

tools/database: build process updates.

- buildable for Cygwin/MinGW.
- SDL cobfig is set by using SDL-config.
- metadata/*.c add automaticaly when database tool builds.
- bitmap files do not create when database tool builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24908 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Yoshihisa Uchida 2010-02-25 12:28:30 +00:00
parent 0cf4cab431
commit ec39c05519
4 changed files with 44 additions and 33 deletions

13
tools/configure vendored Executable file → Normal file
View file

@ -2672,8 +2672,17 @@ fi
t_cpu='';
GCCOPTS='';
appsdir='\$(ROOTDIR)/tools/database';
output='database.'${modelname};
archosrom='';
case $uname in
CYGWIN*|MINGW*)
output="database_${modelname}.exe"
;;
*)
output='database.'${modelname};
;;
esac
echo "Database tool build selected"
;;
*)
@ -3007,6 +3016,7 @@ sed > Makefile \
-e "s,@RBDIR@,${rbdir},g" \
-e "s,@PREFIX@,$PREFIX,g" \
-e "s,@CMDLINE@,$cmdline,g" \
-e "s,@SDLCONFIG@,$sdl,g" \
<<EOF
## Automatically generated. http://www.rockbox.org/
@ -3071,6 +3081,7 @@ export ENC_OPTS=@ENC_OPTS@
export ENCODER=@ENCODER@
export USE_ELF=@USE_ELF@
export RBDIR=@RBDIR@
export SDLCONFIG=@SDLCONFIG@
CONFIGURE_OPTIONS=@CMDLINE@