summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/arm64-mobile.make
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 19:57:33 +0100
commitba7b3ed69cd24970a28b72c54982735cd120e663 (patch)
tree934b7645435ab1bfd2d8eb99fa861fc09e3dd5b4 /dev/kernel/arm64-mobile.make
parent2205e801a6e84238dc8cbbb8f9de5a675eae1d81 (diff)
kernel: breaking: Change namespace from NeOS to Kernel.
sched: Fix redundancy in NeKernel's user scheduler macros, refactored the other files using the redundant macros too. part one of a series of commit for NeKernel. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/arm64-mobile.make')
-rw-r--r--dev/kernel/arm64-mobile.make64
1 files changed, 0 insertions, 64 deletions
diff --git a/dev/kernel/arm64-mobile.make b/dev/kernel/arm64-mobile.make
deleted file mode 100644
index 1b3521d5..00000000
--- a/dev/kernel/arm64-mobile.make
+++ /dev/null
@@ -1,64 +0,0 @@
-##################################################
-# (c) Amlal EL Mahrouss, all rights reserved.
-# This is the microKernel makefile.
-##################################################
-
-CC = clang++
-LD = lld-link
-CCFLAGS = -fshort-wchar -c -ffreestanding -MMD -mno-red-zone -D__NE_ARM64__ -fno-rtti -fno-exceptions -I./ \
- -target aarch64-unknown-windows \
- -std=c++20 -O3 -D__NEOSKRNL__ -D__NE_MINIMAL_OS__ -D__NE_NO_BUILTIN__ -D__HAVE_NE_APIS__ -D__NE__ -I../
-
-ASM = clang++
-
-DISKDRIVER = -D__USE_FLASH_MEM__
-
-ifneq ($(DEBUG_SUPPORT), )
-DEBUG = -D__DEBUG__
-endif
-
-COPY = cp
-
-LDFLAGS = -subsystem:efi_application -entry:hal_init_platform /nodefaultlib
-LDOBJ = obj/*.obj
-
-# This file is the Kernel, responsible of task management and memory.
-KERNEL = neoskrnl.exe
-
-.PHONY: error
-error:
- @echo "=== ERROR ==="
- @echo "=> Use a specific target."
-
-MOVEALL=./MoveAll.ARM64.sh
-
-.PHONY: newos-arm64-epm
-newos-arm64-epm: clean
- $(CC) $(CCFLAGS) $(DISKDRIVER) $(DEBUG) $(wildcard src/*.cc) \
- $(wildcard src/FS/*.cc) $(wildcard HALKit/ARM64/Storage/*.cc) \
- $(wildcard HALKit/ARM64/PCI/*.cc) $(wildcard src/Network/*.cc) $(wildcard src/Storage/*.cc) \
- $(wildcard HALKit/ARM64/*.cc) $(wildcard HALKit/ARM64/*.cpp) \
- $(wildcard HALKit/ARM64/*.s) $(wildcard HALKit/ARM64/APM/*.cc)
-
- $(MOVEALL)
-
-OBJCOPY=x86_64-w64-mingw32-objcopy
-
-.PHONY: link-arm64-epm
-link-arm64-epm:
- $(LD) $(LDFLAGS) $(LDOBJ) /out:$(KERNEL)
-
-.PHONY: all
-all: newos-arm64-epm link-arm64-epm
- @echo "Kernel => OK."
-
-.PHONY: help
-help:
- @echo "=== HELP ==="
- @echo "all: Build Kernel and link it."
- @echo "link-arm64-epm: Link Kernel for EPM based disks."
- @echo "newos-arm64-epm: Build Kernel for EPM based disks."
-
-.PHONY: clean
-clean:
- rm -f $(LDOBJ) $(wildcard *.o) $(KERNEL)