summaryrefslogtreecommitdiff
path: root/src/udev/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 /src/udev/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 'src/udev/Makefile.am')
-rw-r--r--src/udev/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am
index 038803454f..d88d72bc6b 100644
--- a/src/udev/Makefile.am
+++ b/src/udev/Makefile.am
@@ -57,6 +57,11 @@ libudev_core_la_SOURCES = \
label.c \
mkdir.c
+if ENABLE_FIRMWARE
+libudev_core_la_SOURCES += \
+ udev-builtin-firmware.c
+endif
+
noinst_HEADERS = \
dev-setup.h \
label.h \