Shellscript improvement plus FAT driver implementations
- Improved the run bash script to exit when an error occurs in one of the sub tasks - Wrote basic FAT16 functions that should give enough information to properly implement the rest of the driver - FAT structure namings are now in accordence with the microsoft spec of March 2005
This commit is contained in:
21
run.sh
21
run.sh
@ -1,12 +1,25 @@
|
||||
#!/bin/bash
|
||||
PROC=$$
|
||||
|
||||
# Build the Corelib static library
|
||||
(cd CoreLib
|
||||
if ! make; then
|
||||
echo "Build failed!"
|
||||
kill -10 $PROC
|
||||
fi)
|
||||
|
||||
cd CoreLib
|
||||
make
|
||||
cd ../kernel
|
||||
# Build the kernel image
|
||||
(cd kernel
|
||||
make clean
|
||||
make
|
||||
cd ..
|
||||
if ! make; then
|
||||
echo "Build failed!"
|
||||
kill -10 $PROC
|
||||
fi)
|
||||
|
||||
./scripts/update_harddrive.sh
|
||||
|
||||
|
||||
|
||||
./scripts/run_qemu.sh
|
||||
|
||||
|
Reference in New Issue
Block a user