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.zip
rockbox-c06a23da79529cbb574940982e194e2b37d4c5f3.tar.gz
rockbox-c06a23da79529cbb574940982e194e2b37d4c5f3.tar.bz2
rockbox-c06a23da79529cbb574940982e194e2b37d4c5f3.tar.xz
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 88ddff5..b4d0365 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -180,3 +180,25 @@ md5sum.c
#ifdef USB_ENABLE_HID
remote_control.c
#endif
+
+#ifdef HAVE_TEST_PLUGINS /* enable in advanced build options */
+test_boost.c
+test_codec.c
+test_core_jpeg.c
+test_disk.c
+test_fps.c
+test_gfx.c
+#ifndef HAVE_LCD_COLOR
+test_grey.c
+test_greylib_bitmap_scale.c
+#endif
+test_mem.c
+test_mem_jpeg.c
+test_resize.c
+test_sampr.c
+test_scanrate.c
+#ifdef HAVE_TOUCHSCREEN
+test_touchscreen.c
+#endif
+test_viewports.c
+#endif
diff --git a/tools/configure b/tools/configure
index 1dd94ee..82f9cfb 100755
--- a/tools/configure
+++ b/tools/configure
@@ -362,7 +362,7 @@ whichadvanced () {
interact=1
echo ""
echo "Enter your developer options (press enter when done)"
- printf "(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (W)in32 crosscompile"
+ printf "(D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (W)in32 crosscompile, (T)est plugins"
if [ "$memory" = "2" ]; then
printf ", (8)MB MOD"
fi
@@ -403,6 +403,10 @@ whichadvanced () {
echo "logf() support enabled"
logf="yes"
;;
+ [Tt])
+ echo "Including test plugins"
+ extradefines="$extradefines -DHAVE_TEST_PLUGINS"
+ ;;
[Cc])
echo "bootchart enabled (logf also enabled)"
bootchart="yes"