diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/Makefile.am | 4 | ||||
-rw-r--r-- | src/udev/udev-builtin.c | 2 | ||||
-rw-r--r-- | src/udev/udev.h | 4 |
3 files changed, 1 insertions, 9 deletions
diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am index 4a47f63063..b6583f0070 100644 --- a/src/udev/Makefile.am +++ b/src/udev/Makefile.am @@ -100,7 +100,7 @@ EXTRA_DIST = \ CLEANFILES = \ udev.pc -if ENABLE_KEYMAP + AM_CPPFLAGS += \ -I $(top_builddir)/src/udev @@ -133,8 +133,6 @@ CLEANFILES += \ keyboard-keys.txt \ $(BUILT_SOURCES) -endif - # install udevadm symlink in sbindir install-exec-hook: if test "$(bindir)" != "$(sbindir)"; then \ diff --git a/src/udev/udev-builtin.c b/src/udev/udev-builtin.c index 40dfeb6f30..82f644896c 100644 --- a/src/udev/udev-builtin.c +++ b/src/udev/udev-builtin.c @@ -36,9 +36,7 @@ static const struct udev_builtin *builtins[] = { [UDEV_BUILTIN_BTRFS] = &udev_builtin_btrfs, [UDEV_BUILTIN_HWDB] = &udev_builtin_hwdb, [UDEV_BUILTIN_INPUT_ID] = &udev_builtin_input_id, -#ifdef ENABLE_KEYMAP [UDEV_BUILTIN_KEYBOARD] = &udev_builtin_keyboard, -#endif #ifdef HAVE_KMOD [UDEV_BUILTIN_KMOD] = &udev_builtin_kmod, #endif diff --git a/src/udev/udev.h b/src/udev/udev.h index 13bb1dc82a..198cb2c137 100644 --- a/src/udev/udev.h +++ b/src/udev/udev.h @@ -151,9 +151,7 @@ enum udev_builtin_cmd { UDEV_BUILTIN_BTRFS, UDEV_BUILTIN_HWDB, UDEV_BUILTIN_INPUT_ID, -#ifdef ENABLE_KEYMAP UDEV_BUILTIN_KEYBOARD, -#endif #ifdef HAVE_KMOD UDEV_BUILTIN_KMOD, #endif @@ -177,9 +175,7 @@ extern const struct udev_builtin udev_builtin_blkid; extern const struct udev_builtin udev_builtin_btrfs; extern const struct udev_builtin udev_builtin_hwdb; extern const struct udev_builtin udev_builtin_input_id; -#ifdef ENABLE_KEYMAP extern const struct udev_builtin udev_builtin_keyboard; -#endif #ifdef HAVE_KMOD extern const struct udev_builtin udev_builtin_kmod; #endif |