summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-03-03 19:37:40 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-03-03 20:19:08 +0100
commit466a7c6a405f80cd8e01ebf0a70eb406863a38f1 (patch)
treeacd8dcec239d7407a69df7f20b9ad7f3b10f4200 /tools
parent13a7c9ac70bfeed574d38705ab568c2085ca77e7 (diff)
downloadrockbox-466a7c6a405f80cd8e01ebf0a70eb406863a38f1.tar.gz
rockbox-466a7c6a405f80cd8e01ebf0a70eb406863a38f1.zip
Integrate the warble tool in the regular build system.
Only sdl app builds work properly for now. Change-Id: I7807d42f69b8577b401e48cdc63de71e54f49217
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/checkwps.make2
-rwxr-xr-xtools/configure13
-rw-r--r--tools/root.make6
3 files changed, 18 insertions, 3 deletions
diff --git a/tools/checkwps/checkwps.make b/tools/checkwps/checkwps.make
index e021024901..1e92e3d63e 100644
--- a/tools/checkwps/checkwps.make
+++ b/tools/checkwps/checkwps.make
@@ -15,6 +15,8 @@ INCLUDES = -I$(ROOTDIR)/apps/gui \
15 -I$(ROOTDIR)/apps/gui/skin_engine \ 15 -I$(ROOTDIR)/apps/gui/skin_engine \
16 -I$(ROOTDIR)/firmware/export \ 16 -I$(ROOTDIR)/firmware/export \
17 -I$(ROOTDIR)/firmware/include \ 17 -I$(ROOTDIR)/firmware/include \
18 -I$(ROOTDIR)/firmware/target/hosted \
19 -I$(ROOTDIR)/firmware/target/hosted/sdl \
18 -I$(ROOTDIR)/apps \ 20 -I$(ROOTDIR)/apps \
19 -I$(ROOTDIR)/apps/recorder \ 21 -I$(ROOTDIR)/apps/recorder \
20 -I$(ROOTDIR)/apps/radio \ 22 -I$(ROOTDIR)/apps/radio \
diff --git a/tools/configure b/tools/configure
index 87dc78f27d..84e87c9fdf 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3383,7 +3383,7 @@ esac
3383if [ "$ARG_TYPE" ]; then 3383if [ "$ARG_TYPE" ]; then
3384 btype=$ARG_TYPE 3384 btype=$ARG_TYPE
3385else 3385else
3386 echo "Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase tool$gdbstub: (Defaults to N)" 3386 echo "Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase tool, (W)arble codec tool$gdbstub: (Defaults to N)"
3387 btype=`input`; 3387 btype=`input`;
3388fi 3388fi
3389 3389
@@ -3484,6 +3484,17 @@ fi
3484 3484
3485 echo "Database tool build selected" 3485 echo "Database tool build selected"
3486 ;; 3486 ;;
3487 [Ww])
3488 uname=`uname`
3489 simcc "warble"
3490 toolset='';
3491 t_cpu='';
3492 GCCOPTS='';
3493 extradefines="$extradefines -DDEBUG"
3494 output='warble.'${modelname};
3495 archosrom='';
3496 echo "Warble build selected"
3497 ;;
3487 *) 3498 *)
3488 if [ "$modelname" = "sansae200r" ]; then 3499 if [ "$modelname" = "sansae200r" ]; then
3489 echo "Do not use the e200R target for regular builds. Use e200 instead." 3500 echo "Do not use the e200R target for regular builds. Use e200 instead."
diff --git a/tools/root.make b/tools/root.make
index 74279064bf..3231b73053 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -87,11 +87,13 @@ ifneq (,$(findstring bootloader,$(APPSDIR)))
87else ifneq (,$(findstring bootbox,$(APPSDIR))) 87else ifneq (,$(findstring bootbox,$(APPSDIR)))
88 BOOTBOXLDOPTS = -Wl,--gc-sections 88 BOOTBOXLDOPTS = -Wl,--gc-sections
89 include $(APPSDIR)/bootbox.make 89 include $(APPSDIR)/bootbox.make
90else ifneq (,$(findstring checkwps,$(APPSDIR))) 90else ifneq (,$(findstring checkwps,$(APP_TYPE)))
91 include $(APPSDIR)/checkwps.make 91 include $(APPSDIR)/checkwps.make
92 include $(ROOTDIR)/lib/skin_parser/skin_parser.make 92 include $(ROOTDIR)/lib/skin_parser/skin_parser.make
93else ifneq (,$(findstring database,$(APPSDIR))) 93else ifneq (,$(findstring database,$(APP_TYPE)))
94 include $(APPSDIR)/database.make 94 include $(APPSDIR)/database.make
95else ifneq (,$(findstring warble,$(APP_TYPE)))
96 include $(ROOTDIR)/lib/rbcodec/test/warble.make
95else 97else
96 include $(APPSDIR)/apps.make 98 include $(APPSDIR)/apps.make
97 include $(APPSDIR)/lang/lang.make 99 include $(APPSDIR)/lang/lang.make