diff options
author | Danny Holman <dholman@gymli.org> | 2024-05-27 13:58:00 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-05-27 13:58:00 -0500 |
commit | 61760f9301427ea56a62ec02af3d0d8ae4745be7 (patch) | |
tree | c63057d16075b2b411eab36424f1d481b4a8c9f1 /Makefile | |
parent | aaf7355c5ededfcdc877c7f2989fb1ba02dfb848 (diff) |
drivers: create a subdir just for driver code
Create a subdirectory branching from the project root. This directory
will contain nothing but driver and device code.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -36,15 +36,23 @@ KERNEL_OBJS=$(KERNEL_ARCH_OBJS) \ kernel/sched.o \ kernel/kthread.o \ +DRIVER_OBJS=drivers/video/framebuffer.o \ + drivers/input/keyboard.o \ + drivers/pci/pci.o \ + drivers/pci/ide.o \ + drivers/tty/tty_vga.o \ + OBJS=$(ARCHDIR)/boot/crti.o \ $(ARCHDIR)/crtbegin.o \ $(KERNEL_OBJS) \ + $(DRIVER_OBJS) \ $(LIBK_OBJS) \ $(ARCHDIR)/crtend.o \ $(ARCHDIR)/boot/crtn.o \ LINK_LIST=$(LDFLAGS) \ $(KERNEL_OBJS) \ + $(DRIVER_OBJS) \ $(LIBK_OBJS) \ $(LIBS) \ |