redox/recipes/bootloader/recipe.sh
2019-01-08 20:50:23 -07:00

33 lines
502 B
Bash

GIT=https://gitlab.redox-os.org/redox-os/bootloader.git
function recipe_version {
echo "0.1.0"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
nasm -f bin -o bootloader -D "ARCH_${ARCH}" -i"${ARCH}/" "${ARCH}/disk.asm"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
cp -v bootloader "$dest"
skip=1
}