[Buildroot] [PATCH] force devtmpfs and inotify kernel option when udev is used as dev handler
Jérémy Rosen
jeremy.rosen at openwide.fr
Wed Jan 8 13:48:33 UTC 2014
Signed-off-by: Jérémy Rosen <jeremy.rosen at openwide.fr>
---
patch suggested by Thomas Petazzoni
I also added devtmpfs because it's documented as needed but wasn't enforced
---
linux/linux.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/linux/linux.mk b/linux/linux.mk
index fa8aa0c..2482952 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -185,6 +185,10 @@ 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)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS,$(@D)/.config)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
$(if $(BR2_PACKAGE_KTAP),
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_EVENT_TRACING,$(@D)/.config)
--
1.8.5.2
More information about the buildroot
mailing list