[Buildroot] [PATCH 48/55] linux: always enable support for tmpfs in the kernel

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 5 20:53:19 UTC 2010


Our default /etc/fstab uses tmpfs to mount the /tmp directory, so it
sounds like a good idea to enable this filesystem by default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 linux/linux.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 96dd2ba..ede9983 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -90,6 +90,8 @@ else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
 	$(TARGET_MAKE_ENV) $(MAKE1) $(LINUX26_MAKE_FLAGS) -C $(@D) buildroot_defconfig
 	rm $(@D)/arch/$(KERNEL_ARCH)/configs/buildroot_defconfig
 endif
+	# Our fstab uses tmpfs
+	$(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS,$(@D)/.config)
 ifeq ($(BR2_ARM_EABI),y)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_AEABI,$(@D)/.config)
 else
-- 
1.7.0.4



More information about the buildroot mailing list