From f3ea87f611a02618a59c1e30989718da6ff31970 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 27 Mar 2013 09:25:33 -0400 Subject: 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 Signed-off-by: Ian Stakenvicius --- rules/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rules') 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 -- cgit v1.2.3-54-g00ecf