summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/sensors/sensors.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/sensors/sensors.pro b/src/plugins/sensors/sensors.pro
index 45a8f197..41fc6fdc 100644
--- a/src/plugins/sensors/sensors.pro
+++ b/src/plugins/sensors/sensors.pro
@@ -1,5 +1,11 @@
TEMPLATE = subdirs
+# Don't build dummy and generic plugins by default, the Blackberry backend has real implementations
+# of these. This reduces compile time and plugin loading time.
+blackberry {
+ isEmpty(SENSORS_PLUGINS): SENSORS_PLUGINS = blackberry
+}
+
isEmpty(SENSORS_PLUGINS)|contains(SENSORS_PLUGINS, dummy):SUBDIRS += dummy
isEmpty(SENSORS_PLUGINS)|contains(SENSORS_PLUGINS, generic):SUBDIRS += generic
isEmpty(SENSORS_PLUGINS)|contains(SENSORS_PLUGINS, simulator):simulator:SUBDIRS += simulator