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 /src/udev/udev-builtin.c | |
parent | build-sys: fix sysvcompat handling in distcheck (diff) | |
download | systemd-e30431623a7d871da123cc37055ac49abf2c20ea.tar.xz 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 'src/udev/udev-builtin.c')
-rw-r--r-- | src/udev/udev-builtin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev/udev-builtin.c b/src/udev/udev-builtin.c index 26d65edd47..32e6e1e90c 100644 --- a/src/udev/udev-builtin.c +++ b/src/udev/udev-builtin.c @@ -37,7 +37,9 @@ static const struct udev_builtin *builtins[] = { [UDEV_BUILTIN_FIRMWARE] = &udev_builtin_firmware, [UDEV_BUILTIN_HWDB] = &udev_builtin_hwdb, [UDEV_BUILTIN_INPUT_ID] = &udev_builtin_input_id, +#ifdef HAVE_KMOD [UDEV_BUILTIN_KMOD] = &udev_builtin_kmod, +#endif [UDEV_BUILTIN_NET_ID] = &udev_builtin_net_id, [UDEV_BUILTIN_PATH_ID] = &udev_builtin_path_id, [UDEV_BUILTIN_USB_ID] = &udev_builtin_usb_id, |