summaryrefslogtreecommitdiff
path: root/rules/Makefile.am
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-03-27 09:25:33 -0400
committerIan Stakenvicius <axs@gentoo.org>2013-04-02 13:54:36 -0400
commitf3ea87f611a02618a59c1e30989718da6ff31970 (patch)
treeff11df69864664dcc272d47fb0ab09e48753c879 /rules/Makefile.am
parent07403f07070124ec32dce1e3661a8b2235bad002 (diff)
udev: make firmware loading optional and disable by default
Distros that whish to support old kernels should set --with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware" to retain the old behaviour. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@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 dca563e815..31d926e234 100644
--- a/rules/Makefile.am
+++ b/rules/Makefile.am
@@ -2,7 +2,6 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
dist_udevrules_DATA = \
42-usb-hid-pm.rules \
- 50-firmware.rules \
50-udev-default.rules \
60-cdrom_id.rules \
60-persistent-alsa.rules \
@@ -20,6 +19,11 @@ dist_udevrules_DATA = \
80-net-name-slot.rules \
95-udev-late.rules
+if ENABLE_FIRMWARE
+dist_udevrules_DATA += \
+ 50-firmware.rules
+endif
+
if HAVE_BLKID
dist_udevrules_DATA += \
60-persistent-storage.rules