diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-10-07 16:54:15 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-10-07 16:54:15 +0000 |
commit | 6e11572e0788136f77ef67b3cfc182095084da4b (patch) | |
tree | 68539f3fdb8055807587b733d43cb38bb1ef7e19 /tools/configure | |
parent | 9e9a9138296c602370e9c92d5fbd84a261aa17b8 (diff) | |
download | rockbox-6e11572e0788136f77ef67b3cfc182095084da4b.tar.gz rockbox-6e11572e0788136f77ef67b3cfc182095084da4b.zip |
Make the database tool buildable from configure.
Also update the checkwps makefile to make checkwps builds not break
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index d61a70966b..e168bf0688 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -2451,7 +2451,7 @@ esac | |||
2451 | if [ "$ARG_TYPE" ]; then | 2451 | if [ "$ARG_TYPE" ]; then |
2452 | btype=$ARG_TYPE | 2452 | btype=$ARG_TYPE |
2453 | else | 2453 | else |
2454 | echo "Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, $gdbstub(M)anual: (Defaults to N)" | 2454 | echo "Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase tool, $gdbstub(M)anual: (Defaults to N)" |
2455 | btype=`input`; | 2455 | btype=`input`; |
2456 | fi | 2456 | fi |
2457 | 2457 | ||
@@ -2543,6 +2543,17 @@ fi | |||
2543 | archosrom=''; | 2543 | archosrom=''; |
2544 | echo "CheckWPS build selected" | 2544 | echo "CheckWPS build selected" |
2545 | ;; | 2545 | ;; |
2546 | [Dd]) | ||
2547 | uname=`uname` | ||
2548 | simcc "database" | ||
2549 | toolset=''; | ||
2550 | t_cpu=''; | ||
2551 | GCCOPTS=''; | ||
2552 | appsdir='\$(ROOTDIR)/tools/database'; | ||
2553 | output='database.'${modelname}; | ||
2554 | archosrom=''; | ||
2555 | echo "Database tool build selected" | ||
2556 | ;; | ||
2546 | *) | 2557 | *) |
2547 | if [ "$modelname" = "e200r" ]; then | 2558 | if [ "$modelname" = "e200r" ]; then |
2548 | echo "Do not use the e200R target for regular builds. Use e200 instead." | 2559 | echo "Do not use the e200R target for regular builds. Use e200 instead." |