Use cross ld to link kernel

This commit is contained in:
Kevin Lange 2013-05-08 22:21:20 -07:00
parent c8aa5462a8
commit 4e5296ad5a

View File

@ -10,7 +10,7 @@ CFLAGS = -Wall -Wextra -pedantic -m32 -O0 -std=c99 -finline-functions -fno-stack
# CFLAGS for native utils
NATIVEFLAGS = -std=c99 -g -pedantic -Wall -Wextra -Wno-unused-parameter
# Linker for core
LD = ld -m elf_i386
LD = i686-pc-toaru-ld
YASM = yasm
# Feel free to be specific, but I'd rather you not be.
FILESYSTEMS = $(patsubst %.c,%.o,$(wildcard kernel/fs/*.c))