From 1cfbd25dc9eb39467406686c8ae1efbfd5517865 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sat, 3 May 2025 13:01:25 -0500 Subject: kernel: x86_64: rename x86 Rename the x86 arch-specific directory to x86_64, reflecting clang's architecture selector flags. Signed-off-by: Danny Holman --- kernel/arch/x86_64/make.config | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 kernel/arch/x86_64/make.config (limited to 'kernel/arch/x86_64/make.config') diff --git a/kernel/arch/x86_64/make.config b/kernel/arch/x86_64/make.config new file mode 100644 index 0000000..2347ce2 --- /dev/null +++ b/kernel/arch/x86_64/make.config @@ -0,0 +1,14 @@ +KERNEL_ARCH_INCLUDE=-I$(ARCHDIR)/include +KERNEL_ARCH_CFLAGS=$(SYS_CFLAGS) -mno-red-zone -mno-mmx -mno-sse -mno-sse2 +KERNEL_ARCH_LDFLAGS= +KERNEL_ARCH_LIBS= + +KERNEL_ARCH_OBJS=$(ARCHDIR)/asm/boot.o \ + $(ARCHDIR)/asm/isr.o \ + $(ARCHDIR)/asm/paging.o \ + $(ARCHDIR)/asm/spinlock.o \ + $(ARCHDIR)/asm/stack_trace.o \ + $(ARCHDIR)/asm/switch_thread.o \ + $(ARCHDIR)/kernel/serial.o \ + $(ARCHDIR)/kernel/syscall.o \ + $(ARCHDIR)/mem/gdt.o \ -- cgit v1.2.3