From 3eb464913c5870aea8892dbf2f327f23c8455ca4 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 7 Dec 2022 17:10:07 +0200 Subject: [PATCH] Update Makefile.conf --- Makefile.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) 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