From 3a2518ca8fdb8422c2f8ffaaeebe3f84242cb7f5 Mon Sep 17 00:00:00 2001 From: Eric-Paul Ickhorn Date: Sun, 16 Jun 2024 23:08:56 +0200 Subject: [PATCH] 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. --- i386/loader/build.bash | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 i386/loader/build.bash diff --git a/i386/loader/build.bash b/i386/loader/build.bash new file mode 100755 index 0000000..b418426 --- /dev/null +++ b/i386/loader/build.bash @@ -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