diff --git a/Makefile.conf b/Makefile.conf index d95c284b..c44a39a5 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -22,6 +22,9 @@ BOOTLOADER=other # 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 @@ -48,3 +51,11 @@ else ifeq ($(OSARCH), aarch64) COMPILER_ARCH = aarch64-elf- QEMU_ARCH = aarch64 endif + +ifeq ($(OSARCH), amd64) +TC_COMPILER_ARCH = x86_64-fennix- +else ifeq ($(OSARCH), i686) +TC_COMPILER_ARCH = i686-fennix- +else ifeq ($(OSARCH), aarch64) +TC_COMPILER_ARCH = aarch64-fennix- +endif