aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-02-07 16:50:58 +0100
committerKoen Kooi <koen@openembedded.org>2010-02-14 11:28:39 +0100
commitb6a63dbf5a87845bab6ce774277bc3287b4d9a89 (patch)
tree5986f2a3a691e08f678aef5745557aeda54d7c51 /recipes/linux/linux.inc
parent6c072776e4e7ed8aa2b98b4e3406650397dff427 (diff)
downloadopenembedded-b6a63dbf5a87845bab6ce774277bc3287b4d9a89.tar.gz
linux.inc: extend UDEV_GE_141 config munging logic to match official udev guidelines
Diffstat (limited to 'recipes/linux/linux.inc')
-rw-r--r--recipes/linux/linux.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index ed96ce6cf5..7405c087b0 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -116,9 +116,32 @@ do_configure_prepend() {
if [ "${UDEV_GE_141}" = "1" ] ; then
sed -e /CONFIG_SYSFS_DEPRECATED/d \
-e /CONFIG_SYSFS_DEPRECATED_V2/d \
+ -e /CONFIG_HOTPLUG/d \
+ -e /CONFIG_UEVENT_HELPER_PATH/d \
+ -e /CONFIG_UNIX/d \
+ -e /CONFIG_SYSFS/d \
+ -e /CONFIG_PROC_FS/d \
+ -e /CONFIG_TMPFS/d \
+ -e /CONFIG_INOTIFY_USER/d \
+ -e /CONFIG_SIGNALFD/d \
+ -e /CONFIG_TMPFS_POSIX_ACL/d \
+ -e /CONFIG_BLK_DEV_BSG/d \
-i '${S}/.config'
+
echo '# CONFIG_SYSFS_DEPRECATED is not set' >> ${S}/.config
echo '# CONFIG_SYSFS_DEPRECATED_V2 is not set' >> ${S}/.config
+ echo 'CONFIG_HOTPLUG=y' >> ${S}/.config
+ echo 'CONFIG_UEVENT_HELPER_PATH=""' >> ${S}/.config
+ echo 'CONFIG_UNIX=y' >> ${S}/.config
+ echo 'CONFIG_SYSFS=y' >> ${S}/.config
+ echo 'CONFIG_PROC_FS=y' >> ${S}/.config
+ echo 'CONFIG_TMPFS=y' >> ${S}/.config
+ echo 'CONFIG_INOTIFY_USER=y' >> ${S}/.config
+ echo 'CONFIG_SIGNALFD=y' >> ${S}/.config
+ echo 'CONFIG_TMPFS_POSIX_ACL=y' >> ${S}/.config
+ echo 'CONFIG_BLK_DEV_BSG=y' >> ${S}/.config
+ echo 'CONFIG_DEVTMPFS=y' >> ${S}/.config
+ echo 'CONFIG_DEVTMPFS_MOUNT=y' >> ${S}/.config
fi
#