osdev5/etc/common.sh
2021-09-22 11:42:00 +03:00

21 lines
292 B
Bash

if [ "$ARCH" = "" ]; then
ARCH=aarch64
fi
case $ARCH in
aarch64)
if [ "$MACH" = "" ]; then
MACH=qemu
fi
;;
x86_64)
MACH=none
;;
esac
if [ "$PROFILE" = "" ]; then
PROFILE=debug
fi
OUT_DIR=target/${ARCH}-${MACH}/${PROFILE}