aboutsummaryrefslogtreecommitdiff
path: root/i686/toolchain.mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-10-28 16:40:46 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-10-28 16:40:46 +0300
commit138c0efa33990ae16d9d950181d65d8b3dfc60c9 (patch)
tree44d018d8b8b634b5d52865bbd7a6c764adc04bb0 /i686/toolchain.mk
parentAdd LICENSE.md (diff)
downloadkernel-138c0efa33990ae16d9d950181d65d8b3dfc60c9.tar.xz
makefile: add libk target
Diffstat (limited to 'i686/toolchain.mk')
-rw-r--r--i686/toolchain.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/i686/toolchain.mk b/i686/toolchain.mk
new file mode 100644
index 0000000..884369c
--- /dev/null
+++ b/i686/toolchain.mk
@@ -0,0 +1,10 @@
+# define compiler, linker, archiver and strip and their flags
+#
+CC = i686-elf-gcc
+CCFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -ffreestanding
+LD = i686-elf-ld
+LDFLAGS = -nostdlib
+AR = i686-elf-ar
+STRIP = i686-elf-strip
+
+