From 6ffe96d1e3f0289c2070e050cf8e1a30288e6d91 Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Fri, 27 Mar 2026 14:03:55 +0700 Subject: Cmake build generator support: build stage Multi-target architecture implementation: each root source code directory presents the one *INTERFACE* target to it's subdirectory subtargets that link only as *STATIC* library. For instance, *arch* directory presents *Architecture* target then *Architecture* target has *CPUID*, *IO*, *PORT* and etc. dependencies Exact order of linking targets is: boot.o CRTIBUNDLE CRTNBUNDLE. Sequence destruction cause to UB. Please to pay attention to this. TODO - Debug information - Build type - Toolchain file - Image creation - Build by WinGW compiler on Windows platform (optional) Signed-off-by: Alexey Gavrilov --- arch/SecondaryInit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/SecondaryInit.h') diff --git a/arch/SecondaryInit.h b/arch/SecondaryInit.h index 53ff191..104f44c 100644 --- a/arch/SecondaryInit.h +++ b/arch/SecondaryInit.h @@ -1,6 +1,6 @@ -#include #include "../kernel/mem/Segments.h" #include "../kernel/mem/Kheap.h" +#include #if defined(__IAPC) #include "x86/PrimaryInit.h" -- cgit v1.2.3