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. --- scripts/rstrip.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 7d38cbeff..00feb8cf8 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -45,8 +45,8 @@ find $TARGETS -type f -a -exec file {} \; | \ case $line in *ELF*executable*,\ not\ stripped*) S=executable ;; - */lib/modules/3.*.o:*ELF*relocatable*,\ not\ stripped* | \ - */lib/modules/3.*.ko:*ELF*relocatable*,\ not\ stripped*) + */lib/modules/*.o:*ELF*relocatable*,\ not\ stripped* | \ + */lib/modules/*.ko:*ELF*relocatable*,\ not\ stripped*) # kernel module parametres must not be stripped off T="$T --strip-unneeded $(echo $(${prefix}nm $F | \ sed -n -e '/__param_/s/^.*__param_/-K /p' \ -- cgit v1.2.3