Files
x86-bare-metal-examples/run
2019-08-24 00:00:06 +00:00

14 lines
176 B
Bash
Executable File

#!/bin/sh
img="${1:-}"
if [ -n "$img" ]; then
img="RUN=${img%.*}"
fi
shift
if [ $# -ge 1 ]; then
type="$1"
shift
else
type=run
fi
make RUN_ARGS="$*" "${type}" "${img}"