summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-23 22:02:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-23 22:04:03 +0100
commit71da71d92d57421fb3546986f68e854ae472cf1a (patch)
tree2d7bdbed1aa515928232a5947abd2b7e863b9412 /scripts
parent3863dc6122a090399e236326f29a1094e6a856e8 (diff)
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rstrip.sh4
1 files changed, 2 insertions, 2 deletions
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' \