summaryrefslogtreecommitdiff
path: root/rules/Makefile.am
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2012-11-23 00:20:15 -0500
committerRichard Yao <ryao@cs.stonybrook.edu>2012-11-23 01:55:28 -0500
commit3bb4e05ce4a1c9ac1339b451c4c18cfef8bcbeb9 (patch)
tree2acd2e37eae53b80ed9b933fee254772246eb4ef /rules/Makefile.am
parentc4d1ce9b754e6eed60d2625cc4fff224898aa5d5 (diff)
Permit users to disable module loading support
Inspired by e30431623a7d871da123cc37055ac49abf2c20ea from systemd. Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'rules/Makefile.am')
-rw-r--r--rules/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/Makefile.am b/rules/Makefile.am
index 8a1f64ff30..e8493036c4 100644
--- a/rules/Makefile.am
+++ b/rules/Makefile.am
@@ -20,9 +20,13 @@ dist_udevrules_DATA = \
75-probe_mtd.rules \
75-tty-description.rules \
78-sound-card.rules \
- 80-drivers.rules \
95-udev-late.rules
+if HAVE_MODULES
+dist_udevrules_DATA += \
+ 80-drivers.rules
+endif
+
if ENABLE_KEYMAP
dist_udevrules_DATA += \
95-keymap.rules \