linux: force inotify kernel option when udev is used as dev handler
authorJeremy Rosen <jeremy.rosen@openwide.fr>
Wed, 8 Jan 2014 13:48:33 +0000 (14:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 8 Jan 2014 21:28:00 +0000 (22:28 +0100)
[Peter: drop unneeded devtmpfs handling]
Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
linux/linux.mk

index fa8aa0cad9df3ad8f7f57ff5221b018a4ef91aa1..ab25fe9871dcb6dde235c709d7fce84eeac5644f 100644 (file)
@@ -185,6 +185,8 @@ define LINUX_CONFIGURE_CMDS
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
        $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
                $(call KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config))
+       $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),
+               $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config))
        $(if $(BR2_PACKAGE_KTAP),
                $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
                $(call KCONFIG_ENABLE_OPT,CONFIG_EVENT_TRACING,$(@D)/.config)