diff options
author | Danny Holman <dholman@gymli.org> | 2025-05-03 13:01:25 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2025-05-03 13:01:25 -0500 |
commit | 1cfbd25dc9eb39467406686c8ae1efbfd5517865 (patch) | |
tree | e676e0f7aa3768806d195ac762c2c9a3bbb835bd /kernel/arch/x86_64/make.config | |
parent | dda63dff71408a45b07ccac9183bb5a216e9ba66 (diff) |
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 <dholman@gymli.org>
Diffstat (limited to 'kernel/arch/x86_64/make.config')
-rw-r--r-- | kernel/arch/x86_64/make.config | 14 |
1 files changed, 14 insertions, 0 deletions
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 \ |