Added binary (compiler) size adjustment script
This commit is contained in:
parent
2fbf4f9bdb
commit
92cb06d0e9
3 changed files with 17 additions and 0 deletions
|
@ -22,3 +22,7 @@ install::
|
|||
cd /dev && sh /usr/src/commands/scripts/MAKEDEV.sh std 2>/dev/null
|
||||
@echo "Making user homedirs.."
|
||||
for u in bin ast root; do (cd ast && tar cf - .[a-z]* ) | (cd ~$$u && tar xf - ); chown -R $$u ~$$u; done
|
||||
|
||||
postinstall:
|
||||
sh chmem.sh binary_sizes
|
||||
|
||||
|
|
9
etc/binary_sizes
Normal file
9
etc/binary_sizes
Normal file
|
@ -0,0 +1,9 @@
|
|||
/usr/lib/i386/as 53721
|
||||
/usr/lib/i386/cg 86625
|
||||
/usr/lib/cpp.ansi 200000
|
||||
/usr/lib/cv 82934
|
||||
/usr/lib/em_cemcom.ansi 958660
|
||||
/usr/lib/em_led 1608955
|
||||
/usr/lib/em_m2 171667
|
||||
/usr/lib/em_opt 175934
|
||||
/usr/lib/em_encode 20000
|
4
etc/chmem.sh
Executable file
4
etc/chmem.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
cat "$1" | while read line
|
||||
do awk '{ print "chmem =" $2 " " $1 }'
|
||||
done | /bin/sh
|
Loading…
Reference in a new issue