summaryrefslogtreecommitdiff
path: root/rules/80-drivers.rules
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-11-20 01:24:32 +0100
committerTom Gundersen <teg@jklm.no>2012-11-20 19:35:27 +0100
commite30431623a7d871da123cc37055ac49abf2c20ea (patch)
treeb07f9dcec833b65964e3b07b2907a73ebbd03184 /rules/80-drivers.rules
parent1d0b59f932d96c108ad5e921213723a48e6b47b8 (diff)
build-sys: make loadable module support optional
kmod is unecessary if loadable module support is disabled in the kernel, so make the dependency optional.
Diffstat (limited to 'rules/80-drivers.rules')
-rw-r--r--rules/80-drivers.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/80-drivers.rules b/rules/80-drivers.rules
index 692510c91..a0615cc3b 100644
--- a/rules/80-drivers.rules
+++ b/rules/80-drivers.rules
@@ -8,5 +8,6 @@ SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", IMPORT{builtin}="kmod load tifm_ms
SUBSYSTEM=="memstick", IMPORT{builtin}="kmod load ms_block mspro_block"
SUBSYSTEM=="i2o", IMPORT{builtin}="kmod load i2o_block"
SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}="kmod load ppdev"
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", IMPORT{builtin}="kmod load sm_ftl"
LABEL="drivers_end"