From 2ac176c749509a7937fbc67a292fc72a8ba41fe9 Mon Sep 17 00:00:00 2001 From: Advaith Menon Date: Thu, 15 Jan 2026 03:07:15 +0530 Subject: [PATCH] Add useful tools * Add script 'buildall' to perform cmake/make steps * Add script 'runxv6' to automatically chdir and run the right VM --- tools/buildall | 6 ++++++ tools/runxv6 | 3 +++ 2 files changed, 9 insertions(+) create mode 100755 tools/buildall create mode 100755 tools/runxv6 diff --git a/tools/buildall b/tools/buildall new file mode 100755 index 0000000..4af1d10 --- /dev/null +++ b/tools/buildall @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +mkdir -p build +cd build +cmake .. -DCMAKE_BUILD_TYPE=Debug +make diff --git a/tools/runxv6 b/tools/runxv6 new file mode 100755 index 0000000..7ee03a5 --- /dev/null +++ b/tools/runxv6 @@ -0,0 +1,3 @@ +#!/bin/bash +cd build +./xv6-qemu "$@" -- 2.47.3