aboutsummaryrefslogtreecommitdiff
path: root/i686/mk
diff options
context:
space:
mode:
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
+