summaryrefslogtreecommitdiffstats
path: root/rules/udev.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2011-07-20 14:32:34 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2011-07-20 14:32:34 +0200
commit8df45c74689e0ceda55a8fb6c62a9be4c6883d59 (patch)
tree4e2203dc6689490f2e787dad81d8e9df6395a64e /rules/udev.make
parent1c70e5181be0266b7c65a29fe429c444e2c6166a (diff)
downloadptxdist-8df45c74689e0ceda55a8fb6c62a9be4c6883d59.tar.gz
ptxdist-8df45c74689e0ceda55a8fb6c62a9be4c6883d59.tar.xz
udev: fix action_modeswitch
70c7d69ca93bb23f8c06cc6882ded3cdf26ef1ad re-enables the action_modeswitch option for the old and non-experimental udev version, but forgets that the configure option is only available in those old versions. This patch avoids the configure option completely if UDEV_EXPERIMENTAL was selected. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/udev.make')
-rw-r--r--rules/udev.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/udev.make b/rules/udev.make
index 96d6aa29f..ac2f0d44f 100644
--- a/rules/udev.make
+++ b/rules/udev.make
@@ -133,11 +133,13 @@ UDEV_AUTOCONF += --disable-edd
endif
endif
+ifndef PTXCONF_UDEV_EXPERIMENTAL
ifdef PTXCONF_UDEV_EXTRA_MOBILE_ACTION_MODESWITCH
UDEV_AUTOCONF += --enable-action_modeswitch
else
UDEV_AUTOCONF += --disable-action_modeswitch
endif
+endif
ifdef PTXCONF_UDEV_SELINUX
UDEV_AUTOCONF += --with-selinux