mirror of
https://github.com/XunilGroup/XunilOS.git
synced 2026-06-02 12:44:24 +02:00
Add a config.mk file where global variables can be modified, add aarch64
interrupts with IRQ and syscalls, make phys_to_virt checked, recreate stack on aarch64, make serial console finally line wrap and have max height correctly, add U64Buf for when i need number debug, rename mouse and keyboard files to kmi and merge them, add non-working pl050 support
This commit is contained in:
+3
-9
@@ -1,16 +1,10 @@
|
||||
include config.mk
|
||||
|
||||
# Nuke built-in rules and variables.
|
||||
MAKEFLAGS += -rR
|
||||
.SUFFIXES:
|
||||
|
||||
# Convenience macro to reliably declare user overridable variables.
|
||||
override USER_VARIABLE = $(if $(filter $(origin $(1)),default undefined),$(eval override $(1) := $(2)))
|
||||
|
||||
# Target architecture to build for. Default to x86_64.
|
||||
$(call USER_VARIABLE,KARCH,x86_64)
|
||||
|
||||
# Default user QEMU flags. These are appended to the QEMU command calls.
|
||||
$(call USER_VARIABLE,QEMUFLAGS,-m 2G)
|
||||
|
||||
override QEMUFLAGS := -m $(MEMORY)
|
||||
override IMAGE_NAME := XunilOS-$(KARCH)
|
||||
|
||||
.PHONY: all
|
||||
|
||||
Reference in New Issue
Block a user