Add build script

This commit adds a build script for the loader partition. Currently,
it is very simplistic, but it works for assembling the entry.asm,
which in turn includes all other files.
This commit is contained in:
Eric-Paul Ickhorn 2024-06-16 23:08:56 +02:00
parent 5180348c39
commit 3a2518ca8f
Signed by: epickh
GPG Key ID: 1358818BAA38B104
1 changed files with 9 additions and 0 deletions

9
i386/loader/build.bash Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
INVOCATION_PATH=$(pwd)
cd $(dirname $0)
SCRIPT_PATH=$(pwd)
# Assemble the loader
nasm -fbin -o $SCRIPT_PATH/loader.bin -I $SCRIPT_PATH/src-asm \
$SCRIPT_PATH/src-asm/entry.asm