aboutsummaryrefslogtreecommitdiff
path: root/devices/mk
diff options
context:
space:
mode:
Diffstat (limited to 'devices/mk')
-rwxr-xr-xdevices/mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/devices/mk b/devices/mk
new file mode 100755
index 0000000..b27d945
--- /dev/null
+++ b/devices/mk
@@ -0,0 +1,14 @@
+#!../mach
+
+INCLUDES := -I../${ARCH}
+${ARCH}_CFLAGS += ${INCLUDES}
+${ARCH}_CXXFLAGS += ${INCLUDES}
+
+TARGETLIB += devs
+devs.SRCS = pic_8259.c uart/uart_16550.c vga.c i8042.c pckbd.c mouse.c
+
+HOSTTARGETBIN += uart/test_uart_16550
+uart/test_uart_16550.SRCS = uart/uart_16550.c uart/unittest_uart_16550.cc
+
+TESTS += uart/test_uart_16550
+