Skip to contentSkip to conversation

ci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

PATCH New Vicente Olivert Riera 2 participants 2 messages Dec 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

We had this option in the defconfig because the kernel defconfig we provide doesn't have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT, so a /dev management which creates the devices dynamically using only devtmpfs would not work. However, CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT are automatically added to the kernel config when you build the kernel using Buildroot, except when you choose BR2_ROOTFS_DEVICE_CREATION_STATIC as a /dev management. This is handled by linux/linux.mk.

---
 configs/ci20_defconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
configs/ci20_defconfig +0 -1
index 7f1bf87..a7b7622 100644
@@ -7,7 +7,6 @@ BR2_mips_32r2=y
 BR2_KERNEL_HEADERS_VERSION=y
 BR2_DEFAULT_KERNEL_VERSION="3.0.8"
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y
-BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS4"
 
 # kernel
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 ci20_defconfig: remove BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

We had this option in the defconfig because the kernel defconfig we provide doesn't have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT, so a /dev management which creates the devices dynamically using only devtmpfs would not work. However, CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT are automatically added to the kernel config when you build the kernel using Buildroot, except when you choose BR2_ROOTFS_DEVICE_CREATION_STATIC as a /dev management. This is handled by linux/linux.mk.

Quoted 1 line

Committed, thanks.

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard