summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-04-05 16:09:47 +0000
committerThomas Martitz <kugel@rockbox.org>2010-04-05 16:09:47 +0000
commitc06a23da79529cbb574940982e194e2b37d4c5f3 (patch)
treeaf95152c782966fd8d8025b0bb0044a3f31dd536
parentb012671acbab7c88d68e1dfb173c9f4fb2b8714c (diff)
downloadrockbox-c06a23da79529cbb574940982e194e2b37d4c5f3.tar.gz
rockbox-c06a23da79529cbb574940982e194e2b37d4c5f3.zip
Add T for plugins to the advanced build options to build all test_* plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25488 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/SOURCES22
-rwxr-xr-xtools/configure6
2 files changed, 27 insertions, 1 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index 88ddff5e29..b4d0365ac4 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -180,3 +180,25 @@ md5sum.c
180#ifdef USB_ENABLE_HID 180#ifdef USB_ENABLE_HID
181remote_control.c 181remote_control.c
182#endif 182#endif
183
184#ifdef HAVE_TEST_PLUGINS /* enable in advanced build options */
185test_boost.c
186test_codec.c
187test_core_jpeg.c
188test_disk.c
189test_fps.c
190test_gfx.c
191#ifndef HAVE_LCD_COLOR
192test_grey.c
193test_greylib_bitmap_scale.c
194#endif
195test_mem.c
196test_mem_jpeg.c
197test_resize.c
198test_sampr.c
199test_scanrate.c
200#ifdef HAVE_TOUCHSCREEN
201test_touchscreen.c
202#endif
203test_viewports.c
204#endif
diff --git a/tools/configure b/tools/configure
index 1dd94eece5..82f9cfb00f 100755
--- a/tools/configure
+++ b/tools/configure
@@ -362,7 +362,7 @@ whichadvanced () {
362 interact=1 362 interact=1
363 echo "" 363 echo ""
364 echo "Enter your developer options (press enter when done)" 364 echo "Enter your developer options (press enter when done)"
365 printf "(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (W)in32 crosscompile" 365 printf "(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (W)in32 crosscompile, (T)est plugins"
366 if [ "$memory" = "2" ]; then 366 if [ "$memory" = "2" ]; then
367 printf ", (8)MB MOD" 367 printf ", (8)MB MOD"
368 fi 368 fi
@@ -403,6 +403,10 @@ whichadvanced () {
403 echo "logf() support enabled" 403 echo "logf() support enabled"
404 logf="yes" 404 logf="yes"
405 ;; 405 ;;
406 [Tt])
407 echo "Including test plugins"
408 extradefines="$extradefines -DHAVE_TEST_PLUGINS"
409 ;;
406 [Cc]) 410 [Cc])
407 echo "bootchart enabled (logf also enabled)" 411 echo "bootchart enabled (logf also enabled)"
408 bootchart="yes" 412 bootchart="yes"