First step of moving bootloader to C++

This commit is contained in:
Justin C. Miller
2019-02-03 01:38:12 -08:00
parent a71af1be96
commit 579f6f64e6
15 changed files with 71 additions and 67 deletions

View File

@@ -1,13 +1,13 @@
#!/usr/bin/env bash
build=${1:-"$(dirname $0)/build"}
ninja -C $build
kvm=""
if [[ -f /dev/kvm ]]; then
kvm="--enable-kvm"
fi
ninja -C $build && \
exec qemu-system-x86_64 \
-drive "if=pflash,format=raw,file=${build}/flash.img" \
-drive "format=raw,file=${build}/popcorn.img" \