Updated autotools config

This commit is contained in:
2021-04-12 01:44:38 -05:00
parent dc4d3c0165
commit 470f6b2d99
2 changed files with 7 additions and 10 deletions

View File

@@ -1,15 +1,13 @@
noinst_PROGRAMS = quark-kernel
quark_kernel_SOURCES = module.cpp util.cpp memorymap.cpp memoryregion.cpp pageallocator.cpp allocator.cpp scheduler.cpp
quark_kernel_SOURCES = kernel.c memorymap.c pageallocator.c priorityqueue.c stdio.c string.c
quark_kernel_LDADD = -lgcc
quark_kernel_CPPFLAGS = -ffreestanding -mgeneral-regs-only -O0 -Wall -fno-exceptions -fno-rtti -ggdb
quark_kernel_CFLAGS = -ffreestanding -mgeneral-regs-only -O0 -Wall -ggdb
quark_kernel_LDFLAGS = -nostdlib
if x86
quark_kernel_SOURCES += x86/mmap.cpp \
x86/tty.cpp \
x86/interrupts.cpp \
x86/multiboot2.cpp \
x86/initialize.cpp \
quark_kernel_SOURCES += x86/mmgr.c \
x86/putc.c \
x86/quark_x86.c \
x86/entry.S
quark_kernel_LDFLAGS += -T x86/linker.ld
quark_kernel_DEPENDENCIES = x86/linker.ld