aboutsummaryrefslogtreecommitdiff
path: root/toolchain.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.makefile')
-rw-r--r--toolchain.makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/toolchain.makefile b/toolchain.makefile
deleted file mode 100644
index 9500449..0000000
--- a/toolchain.makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Toolchain
-TARGET := i686-elf
-
-NM := llvm-nm
-SED := sed
-
-AS := clang
-AS_FLAGS := -nostdlib -Wall -Wextra
-
-AR := llvm-ar
-AR_FLAGS := --format=gnu
-
-LD := ld.lld
-LD_FLAGS := -nostdlib -T linker.ld
-
-CXX := clang++
-CXX_FLAGS := -std=c++20 -g -O3 -flto=full \
- -static -ffreestanding -fno-common -nostdinc -nostdinc++ \
- -fno-use-cxa-atexit -fno-rtti -fno-exceptions -fno-non-call-exceptions \
- -Wall -Wextra -Werror=pedantic \
- -Werror=date-time \
- -Werror=shadow-all \
- -Wold-style-cast -Wconversion \
- -Wconsumed
-TEST_CXX := clang++
-TEST_CXX_FLAGS := -std=c++20 -Wall -Wextra -Werror=pedantic
-CXX_INCLUDE := $(CURDIR)/libk $(CURDIR)/src $(CURDIR)/drivers
-CXX_INCLUDE := $(addprefix -I, $(CXX_INCLUDE))
-SYSTEM_INCLUDE := $(CURDIR)/grub
-SYSTEM_INCLUDE := $(addprefix -isystem, $(SYSTEM_INCLUDE))
-CXX_INCLUDE := $(CXX_INCLUDE) $(SYSTEM_INCLUDE)
-
-#
-GRUB_MKRESCUE := grub-mkrescue
-GRUB_FILE := grub-file
-GRUB_SCRIPT := grub-script-check
-
-EMU := qemu-system-i386 -cdrom
-