diff options
| author | Arseney300 <Arseney300@gmail.com> | 2026-04-11 17:48:52 +0700 |
|---|---|---|
| committer | Arseney300 <Arseney300@gmail.com> | 2026-04-11 17:48:52 +0700 |
| commit | 496246c92dabe6757480147016490ea6ae43bb66 (patch) | |
| tree | cb922a0b1569410db44f6da17862b7e949df9fad /kernel/Makefile | |
| parent | 2f95320e0859029f520d46f777591751dcd39634 (diff) | |
Kernel: main singleton object, that provide access to core kernel
entities
Processor: empty class, that will be used later for per-CPU entities
AcpiTables: class for acpi access (can be obtained through the kernel
object)
DeviceTree: class for dt access (can be obtained through the kernel
object)
Diffstat (limited to 'kernel/Makefile')
| -rw-r--r-- | kernel/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index a5f6741..40f081e 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -11,7 +11,8 @@ include ../config.mk INCLUDES := \ -Iinclude \ - -I../include + -I../include \ + -Iarch/$(ARCH) # ── Always-compiled sources ───────────────────────────────────────────────── @@ -24,6 +25,9 @@ MM_SRC := $(wildcard mm/*.cpp) LDR_SRC := $(wildcard loader/*.cpp) 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) + # ── Conditionally-compiled sources (from .config) ─────────────────────────── # TODO: change it to Driver Makefiles DRV_SRC := @@ -68,7 +72,7 @@ endif # ── Collect all sources ───────────────────────────────────────────────────── -ALL_CPP_SRC := $(ARCH_CPP_SRC) $(CORE_SRC) $(MM_SRC) $(DRV_SRC) $(FS_SRC) $(LDR_SRC) $(LIB_SRC) +ALL_CPP_SRC := $(ARCH_CPP_SRC) $(CORE_SRC) $(MM_SRC) $(FIRMWARE_SRC) $(DRV_SRC) $(FS_SRC) $(LDR_SRC) $(LIB_SRC) ALL_ASM_SRC := $(ARCH_ASM_SRC) ALL_CPP_OBJ := $(patsubst %.cpp,%.o,$(ALL_CPP_SRC)) |
