os-core/Makevars.mk

33 lines
646 B
Makefile

#
# build.mk
# Ilja Kartašov, 2019-11-29 17:38
#
BUILD_DIR ?= build/
AARCH64_TOOLCHAIN ?= aarch64-linux-gnu
AARCH64_CC = clang --target=aarch64-none-elf -mcpu=cortex-a57
AARCH64_LD = ld.lld
AARCH64_OBJCOPY = $(AARCH64_TOOLCHAIN)-objcopy --target elf64-littleaarch64
AARCH64_QEMU = \
qemu-system-aarch64 \
-M virt \
-cpu cortex-a53 \
-nographic \
-smp 4 \
-m 4096 \
-kernel build/kernel/kernel.elf \
-serial stdio \
-monitor none \
# AARCH64_QEMU = \
# qemu-system-aarch64 \
# -M raspi3 \
# -nographic \
# -kernel build/kernel/kernel.elf \
# -serial stdio \
# -monitor none \
# vim:ft=make
#