aboutsummaryrefslogtreecommitdiff
path: root/i686/mk
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-07-30 17:11:43 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-07-30 17:11:43 +0300
commit3c440f91ea7f26f7c5ed10c18bd28348020d8ebe (patch)
tree1b88afc9e7ae16dd7a827c93e6467096c6760047 /i686/mk
parentFix compiler warnings (diff)
downloadkernel-3c440f91ea7f26f7c5ed10c18bd28348020d8ebe.tar.xz
Added make wrapper
Diffstat (limited to 'i686/mk')
-rwxr-xr-xi686/mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/i686/mk b/i686/mk
new file mode 100755
index 0000000..312e553
--- /dev/null
+++ b/i686/mk
@@ -0,0 +1,16 @@
+#!../mach
+
+INCLUDES := -isystem../grub
+${ARCH}_CFLAGS += ${INCLUDES}
+${ARCH}_CXXFLAGS += ${INCLUDES}
+
+TARGETLIB += arch
+arch.SRCS = boot.s init.s \
+ gdt.c lgdt.c \
+ lidt.c isr.c
+
+HOSTTARGETBIN += test_gdt
+test_gdt.SRCS = test_gdt.cc
+
+TESTS += test_gdt
+