diff options
Diffstat (limited to 'kernel/Makefile')
| -rw-r--r-- | kernel/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 40f081e..c3634e0 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -28,6 +28,10 @@ LIB_SRC := $(wildcard lib/*.cpp) # ── Firmware subsystems (both compile on all arches; unused one stays dormant) ── FIRMWARE_SRC := $(wildcard firmware/acpi/*.cpp) $(wildcard firmware/dt/*.cpp) +# ── Driver framework (always compiled) ───────────────────────────────────── +# TODO: fix that +DRV_FRAMEWORK_SRC := $(wildcard drivers/driver_registry.cpp) + # ── Conditionally-compiled sources (from .config) ─────────────────────────── # TODO: change it to Driver Makefiles DRV_SRC := @@ -72,7 +76,7 @@ endif # ── Collect all sources ───────────────────────────────────────────────────── -ALL_CPP_SRC := $(ARCH_CPP_SRC) $(CORE_SRC) $(MM_SRC) $(FIRMWARE_SRC) $(DRV_SRC) $(FS_SRC) $(LDR_SRC) $(LIB_SRC) +ALL_CPP_SRC := $(ARCH_CPP_SRC) $(CORE_SRC) $(MM_SRC) $(FIRMWARE_SRC) $(DRV_FRAMEWORK_SRC) $(DRV_SRC) $(FS_SRC) $(LDR_SRC) $(LIB_SRC) ALL_ASM_SRC := $(ARCH_ASM_SRC) ALL_CPP_OBJ := $(patsubst %.cpp,%.o,$(ALL_CPP_SRC)) |
