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/
|
2021-06-01 18:31:20 +00:00
|
|
|
nasm boot.asm -f bin -O0 -o ../build/boot.bin
|
|
|
|
nasm system.asm -f bin -O0 -o ../build/system.bin
|
2021-05-26 14:05:49 +00:00
|
|
|
|
|
|
|
cd ../build/
|
2021-06-01 18:31:20 +00:00
|
|
|
cat boot.bin system.bin > EttinOS.img
|
|
|
|
rm boot.bin system.bin
|