Merge origin/netpush (networking code) (XCC)
[akaros.git] / scripts / fill-kfs.sh
1 #!/bin/bash
2 # Just the essentials
3 #cp -P ../ros-gcc-glibc/install-i386-ros-gcc/i686-ros/lib/ld* kern/kfs/lib/
4 #cp -P ../ros-gcc-glibc/install-i386-ros-gcc/i686-ros/lib/libc{-,.}* kern/kfs/lib/
5
6 # Full libc SOs  careful with -u, it won't help you change between archs
7 cp -uP ../ros-gcc-glibc/install-i386-ros-gcc/i686-ros/lib/*.so* kern/kfs/lib
8 #cp -uP ../ros-gcc-glibc/install-sparc-ros-gcc/sparc-ros/lib/*.so* kern/kfs/lib
9
10 # common test progs
11 #cp -u obj/tests/idle obj/tests/block_test obj/tests/c3po/c3po_test obj/tests/appender obj/tests/file_test obj/tests/fork obj/tests/hello obj/tests/mhello obj/tests/pthread_test obj/tests/spawn obj/tests/syscall obj/tests/tlstest obj/tests/ucq kern/kfs/bin/
12
13 # all test progs, something like this to get them
14 # don't do this if we're using static binaries, since things will get really large
15 cp -u `find obj/tests/ -executable ! -type d` kern/kfs/bin/