summaryrefslogtreecommitdiffhomepage
path: root/Kernel/amd64-efi.make
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-04 12:16:22 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-04 12:16:22 +0200
commitcd400898f5a6ef04690231323c0be107ae330fb4 (patch)
treeb94f98443797dcc0e4e0cdea4410a667e26391bc /Kernel/amd64-efi.make
parentd335a696d5aaf8f40d2f30555a2e1fe97a8f9e5c (diff)
[META] bump.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/amd64-efi.make')
-rw-r--r--Kernel/amd64-efi.make8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/amd64-efi.make b/Kernel/amd64-efi.make
index 22e958b7..6546d12d 100644
--- a/Kernel/amd64-efi.make
+++ b/Kernel/amd64-efi.make
@@ -5,9 +5,9 @@
CC = x86_64-w64-mingw32-g++
LD = x86_64-w64-mingw32-ld
-CCFLAGS = -fshort-wchar -c -fPIC -ffreestanding -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fno-exceptions \
+CCFLAGS = -fshort-wchar -c -shared -ffreestanding -fPIC -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fno-exceptions \
-std=c++20 -D__NEWOS_SUPPORT_NX__ -I../Vendor -D__FSKIT_USE_NEWFS__ \
- -D__KERNEL__ -D__HAVE_MAHROUSS_APIS__ -D__MAHROUSS__ -I./
+ -D__KERNEL__ -D__HAVE_MAHROUSS_APIS__ -D__MAHROUSS__ -I./ -I../
ASM = nasm
@@ -35,11 +35,11 @@ COPY = cp
ASMFLAGS = -f win64
# Kernel subsystem is 17 and entrypoint is __ImageStart
-LDFLAGS = -e hal_init_platform --subsystem=17
+LDFLAGS = -e ke_startup_platform --subsystem=17
LDOBJ = Objects/*.obj
# This file is the kernel, responsible of task management and memory.
-KERNEL = newoskrnl.exe
+KERNEL = newoskrnl.dll
.PHONY: error
error: