From 71da71d92d57421fb3546986f68e854ae472cf1a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 23 Dec 2015 22:02:03 +0100 Subject: optimize for really small systems Default to busybox hush for noMMU systems. Add busybox profiles to choose a minimal busybox config for noMMU systems. Add gdb git from ysato for h8/300 simulator. Change some kernel defaults to off to have a really small kernel. For bfin simulator the kernel+initramfs is smaller then 2MB in size. --- target/linux/config/Config.in.fs | 3 +-- target/linux/config/Config.in.kernel | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'target/linux/config') diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs index 8bb630ee6..e148f75b2 100644 --- a/target/linux/config/Config.in.fs +++ b/target/linux/config/Config.in.fs @@ -8,7 +8,6 @@ config ADK_KERNEL_MISC_FILESYSTEMS config ADK_KERNEL_FSNOTIFY bool - default y config ADK_KERNEL_EXPORTFS tristate @@ -256,7 +255,7 @@ menu "Filesystem features" config ADK_KERNEL_INOTIFY_USER bool "Inotify support for userspace" - default y + default n help Say Y here to enable inotify support for userspace, including the associated system calls. Inotify allows monitoring of both files and diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel index 3f5768fbc..1310f0fd4 100644 --- a/target/linux/config/Config.in.kernel +++ b/target/linux/config/Config.in.kernel @@ -204,6 +204,10 @@ config ADK_KERNEL_UEVENT_HELPER_PATH default "/sbin/mdev" depends on ADK_RUNTIME_DEV_MDEV +config ADK_KERNEL_BINFMT_ELF + bool + default y if ADK_TARGET_BINFMT_ELF + config ADK_KERNEL_BINFMT_ELF_FDPIC bool default y if ADK_TARGET_BINFMT_FDPIC -- cgit v1.2.3