2021-05-26 14:05:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-05-30 16:12:19 +00:00
|
|
|
if [ ! -d "build" ];
|
|
|
|
then
|
|
|
|
mkdir build
|
|
|
|
fi
|
|
|
|
|
2021-05-26 14:05:49 +00:00
|
|
|
cd src/
|
|
|
|
nasm boot.asm -f bin -o ../build/boot.bin
|
|
|
|
nasm os.asm -f bin -o ../build/os.bin
|
|
|
|
|
|
|
|
cd ../build/
|
|
|
|
cat boot.bin os.bin > EttinOS.img
|
|
|
|
rm boot.bin os.bin
|