From: Matthias Kruk Date: Wed, 18 Dec 2019 06:57:42 +0000 (+0900) Subject: Fix order in that objects in the kernel code are linked X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=4d77c721e2adfb69eb2ca7d102d42c3dee0ad388;p=corax Fix order in that objects in the kernel code are linked --- diff --git a/kernel/Makefile b/kernel/Makefile index 2d37c04..318c03d 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -1,5 +1,5 @@ -OBJECTS = arch/arch.o core/core.o klibc/klibc.a -DEPS = arch core klibc +OBJECTS = arch/arch.o core/core.o io/io.o klibc/klibc.a +DEPS = arch core io klibc LDFLAGS = --oformat=elf32-i386 -b elf32-i386 -m elf_i386 CFLAGS = -m32 -Wall -nostdlib -nodefaultlibs -nostartfiles -ffreestanding PHONY = $(DEPS) clean