From f284646368823ffa88aa411d302f02421df2f5b2 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Fri, 14 Jun 2024 15:56:45 +0200 Subject: MHR-31: Focusing on ARM support for upcoming product. Signed-off-by: Amlal EL Mahrouss --- Kernel/makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Kernel/makefile') diff --git a/Kernel/makefile b/Kernel/makefile index 97804c20..16a36013 100644 --- a/Kernel/makefile +++ b/Kernel/makefile @@ -11,6 +11,8 @@ CCFLAGS = -c -fPIC -ffreestanding -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fn ASM = nasm +DISKDRIVER = -D__ATA_PIO__ + ifneq ($(ATA_PIO_SUPPORT), ) DISKDRIVER = -D__ATA_PIO__ endif @@ -23,7 +25,7 @@ ifneq ($(AHCI_SUPPORT), ) DISKDRIVER = -D__AHCI__ endif -ifneq ($(DEBUG_SUPPORT), ) +ifeq ($(RELEASE_SUPPORT), ) DEBUG = -D__DEBUG__ endif @@ -69,6 +71,8 @@ link-amd64-epm: .PHONY: all all: newos-amd64-epm link-amd64-epm + qemu-img create -f raw newoskrnl.rom 512K + dd if=newoskrnl.exe of=newoskrnl.rom bs=1 seek=0 conv=notrunc @echo "NewOSKrnl => OK." .PHONY: help -- cgit v1.2.3