Update OS

This commit is contained in:
Alex
2023-06-10 13:12:18 +03:00
parent a9f7922ee4
commit 9730af9992
8 changed files with 58 additions and 113 deletions

View File

@ -26,12 +26,11 @@ BUILD_MODULES = 1
QUIET_BUILD = 1
USERSPACE_STATIC_LIBS = 1
# The path of the cross-compiler.
COMPILER_PATH = tools/cross/bin
# The path of the toolchain cross-compiler.
TC_COMPILER_PATH = tools/cross/toolchain/bin
# The path of the Limine bootloader.
LIMINE_FOLDER = tools/limine
@ -51,24 +50,21 @@ MLIBC = 0
# Make releated variables
# DO NOT TOUCH!
ifeq ($(OSARCH), amd64)
COMPILER_ARCH = amd64-elf-
COMPILER_ARCH = x86_64-fennix-
QEMU_ARCH = x86_64
else ifeq ($(OSARCH), i386)
COMPILER_ARCH = i386-elf-
COMPILER_ARCH = i386-fennix-
QEMU_ARCH = i386
else ifeq ($(OSARCH), aarch64)
COMPILER_ARCH = aarch64-elf-
COMPILER_ARCH = aarch64-fennix-
QEMU_ARCH = aarch64
endif
ifeq ($(OSARCH), amd64)
TC_COMPILER_ARCH = x86_64-fennix-
else ifeq ($(OSARCH), i386)
TC_COMPILER_ARCH = i386-fennix-
else ifeq ($(OSARCH), aarch64)
TC_COMPILER_ARCH = aarch64-fennix-
endif