From dd192787a70a973f2474720aea49af3f6ddabb7a Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Jan 2024 19:17:00 +0100 Subject: h-core: Breaking kernel changes, IDevice becomes DeviceInterface, the UPT is Read Only by default. DebugManager allocates space for users by default (for a debug message) Update PEF enum kPefArch. Move Seeker into the /Services directory. Complete merge of SupportKit to KernelKit. Signed-off-by: Amlal El Mahrouss --- newBoot/Source/makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'newBoot/Source/makefile') diff --git a/newBoot/Source/makefile b/newBoot/Source/makefile index 81bb2096..835e4afa 100644 --- a/newBoot/Source/makefile +++ b/newBoot/Source/makefile @@ -1,13 +1,9 @@ -CC=fcc -CCFLAGS=-I ../ -ffreestanding -nostdlib -ASM=fasm -ASMFLAGS=/ARC /PEF +CC=gcc +CCFLAGS=-I../ -I../../ -std=c++20 -ffreestanding -nostdlib -c .PHONY: arch-arc arch-arc: - ${CC} ${CCFLAGS} Boot.cpp Start.cpp -c - ${ASM} ${ASMFLAGS} Arch/ARC/XPM.asm - ${ASM} ${ASMFLAGS} Arch/ARC/Crt0.asm + ${CC} ${CCFLAGS} Start.cxx CC_GNU=x86_64-elf-gcc LD_GNU=x86_64-elf-ld @@ -16,7 +12,7 @@ FLAG_GNU=-I../ -I../../../efiSDK/inc -c -ffreestanding -fno-rtti -fno-exceptions .PHONY: arch-amd64 arch-amd64: $(CC_GNU) $(FLAG_GNU) Arch/AMD64/BootAMD64.cxx *.cxx - $(LD_GNU) *.o -e __AppMain -Ttext 0x000 --oformat binary -o BootloaderStage2.bin + $(LD_GNU) *.o -e Main -Ttext 0x000 --oformat binary -o BootloaderStage2.bin .PHONY: clean clean: -- cgit v1.2.3