Updating Build scripts
This commit is contained in:
21
run.sh
21
run.sh
@ -3,23 +3,24 @@ PROC=$$
|
||||
|
||||
# Build the Corelib static library
|
||||
(cd CoreLib
|
||||
if ! make; then
|
||||
echo "Build failed!"
|
||||
if ! make 2> warnings.log 1> /dev/null ; then
|
||||
echo "Build Corelib failed!"
|
||||
kill -10 $PROC
|
||||
fi)
|
||||
|
||||
# Build the kernel image
|
||||
(cd kernel
|
||||
make clean
|
||||
make
|
||||
if ! make; then
|
||||
echo "Build failed!"
|
||||
# make clean
|
||||
if ! make 2> warnings.log 1> /dev/null ; then
|
||||
echo "Build kernel failed!"
|
||||
kill -10 $PROC
|
||||
fi)
|
||||
|
||||
./scripts/update_harddrive.sh
|
||||
|
||||
|
||||
|
||||
./scripts/run_qemu.sh
|
||||
|
||||
args="";
|
||||
if [[ $1 == "-d" ]]
|
||||
then
|
||||
args="debug"
|
||||
fi
|
||||
./scripts/run_qemu.sh $args
|
||||
|
Reference in New Issue
Block a user