diff options
author | Tom Gundersen <teg@jklm.no> | 2012-11-20 01:24:32 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-11-20 19:35:27 +0100 |
commit | e30431623a7d871da123cc37055ac49abf2c20ea (patch) | |
tree | b07f9dcec833b65964e3b07b2907a73ebbd03184 /rules/80-drivers.rules | |
parent | 1d0b59f932d96c108ad5e921213723a48e6b47b8 (diff) | |
download | systemd-e30431623a7d871da123cc37055ac49abf2c20ea.tar.gz systemd-e30431623a7d871da123cc37055ac49abf2c20ea.tar.bz2 systemd-e30431623a7d871da123cc37055ac49abf2c20ea.zip |
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.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/80-drivers.rules b/rules/80-drivers.rules index 692510c912..a0615cc3b2 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" |