From 61760f9301427ea56a62ec02af3d0d8ae4745be7 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Mon, 27 May 2024 13:58:00 -0500 Subject: 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 --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9a50fb6..abab3f7 100644 --- a/Makefile +++ b/Makefile @@ -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) \ -- cgit v1.2.3