From 2c77900410fb25c461b367c09324c053d5c7ecd8 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Tue, 27 Mar 2012 16:29:09 +1000 Subject: SENSORS_PLUGINS allows restricting the plugins that are built. Rather than having to remove plugins after build/install they can be removed from the build by setting SENSORS_PLUGINS when building. Change-Id: I9d0cf247043b683e32311e0a6fe69ef37e43455d Reviewed-by: Lorn Potter --- src/plugins/sensors/sensors.pro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/plugins/sensors/sensors.pro b/src/plugins/sensors/sensors.pro index 5dc7475c..d1adbf48 100644 --- a/src/plugins/sensors/sensors.pro +++ b/src/plugins/sensors/sensors.pro @@ -1,5 +1,5 @@ TEMPLATE = subdirs -SUBDIRS += dummy generic -simulator:SUBDIRS += simulator - +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 -- cgit v1.2.3