aboutsummaryrefslogtreecommitdiff
path: root/devices/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'devices/BUILD.bazel')
-rw-r--r--devices/BUILD.bazel22
1 files changed, 22 insertions, 0 deletions
diff --git a/devices/BUILD.bazel b/devices/BUILD.bazel
new file mode 100644
index 0000000..0c58d48
--- /dev/null
+++ b/devices/BUILD.bazel
@@ -0,0 +1,22 @@
+cc_library(
+ name = "drivers",
+ srcs = [
+ "i8042.c",
+ "mouse.c",
+ "pckbd.c",
+ "pic_8259.c",
+ "uart/uart_16550.c",
+ "uart/uart_16550.h",
+ "vga.c",
+ ],
+ hdrs = glob(["include/*.h"]),
+ defines = [
+ "__ARCH__=i386",
+ ],
+ includes = ["include"],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//arch/i386:arch",
+ "//lib/libk:k",
+ ],
+)