2014-03-25 14:38:35 +01:00
|
|
|
# Path defititions
|
2014-05-05 12:18:45 +02:00
|
|
|
##bin="/home/ftp/hive/spinix"
|
|
|
|
bin="../Bin/spinix"
|
2014-03-25 14:38:35 +01:00
|
|
|
sd="${bin}/sdcard"
|
|
|
|
flash="${bin}/flash"
|
|
|
|
|
2014-03-25 10:40:35 +01:00
|
|
|
# Build the bin apps
|
|
|
|
./build_bin alias
|
|
|
|
./build_bin cat
|
|
|
|
./build_bin chmod
|
|
|
|
./build_bin config
|
|
|
|
./build_bin cp
|
|
|
|
./build_bin date
|
|
|
|
./build_bin declare
|
|
|
|
./build_bin diag
|
|
|
|
./build_bin diff
|
|
|
|
./build_bin dos2unix
|
|
|
|
./build_bin ed
|
|
|
|
./build_bin export
|
|
|
|
./build_bin ted
|
|
|
|
./build_bin grep
|
|
|
|
./build_bin halt
|
|
|
|
./build_bin head
|
|
|
|
./build_bin history
|
|
|
|
./build_bin let
|
|
|
|
./build_bin linefeed
|
|
|
|
./build_bin ls
|
|
|
|
./build_bin man
|
|
|
|
./build_bin mkdir
|
|
|
|
./build_bin more
|
|
|
|
./build_bin mv
|
|
|
|
./build_bin od
|
|
|
|
./build_bin printenv
|
|
|
|
./build_bin rb
|
|
|
|
./build_bin reboot
|
|
|
|
./build_bin rm
|
|
|
|
./build_bin sb
|
|
|
|
./build_bin set
|
|
|
|
./build_bin shell
|
|
|
|
./build_bin spasm
|
|
|
|
./build_bin spinit
|
|
|
|
./build_bin splink
|
|
|
|
./build_bin tail
|
|
|
|
./build_bin tar
|
|
|
|
./build_bin test
|
2014-03-25 11:10:00 +01:00
|
|
|
./build_bin timezone
|
2014-03-25 10:40:35 +01:00
|
|
|
./build_bin touch
|
|
|
|
./build_bin unalias
|
|
|
|
./build_bin unix2dos
|
|
|
|
./build_bin unset
|
|
|
|
./build_bin vi
|
|
|
|
./build_bin vgatdemo
|
|
|
|
./build_bin wc
|
|
|
|
|
|
|
|
# Copy the shell scripts
|
2014-03-25 14:38:35 +01:00
|
|
|
cp src/spc ${sd}/bin
|
2014-03-25 10:40:35 +01:00
|
|
|
|
|
|
|
# Copy text files
|
2014-03-25 14:38:35 +01:00
|
|
|
cp src/*.txt ${sd}/bin
|
2014-03-25 10:40:35 +01:00
|
|
|
|
|
|
|
# Build files for spasm
|
2014-05-05 13:43:38 +02:00
|
|
|
grep PUB src/clibsd.spin >${sd}/devel/clibsd.spn
|
2014-03-25 14:38:35 +01:00
|
|
|
cp ${sd}/devel/clibsd.spn ${sd}/devel/clibsd.spa
|
2014-05-05 13:43:38 +02:00
|
|
|
bstc -b src/clibsd.spin
|
|
|
|
mv clibsd.binary ${sd}/devel/clibsd.bin
|