From c33d2dedd7ae7f259179abdc9a6f58847b32db21 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 26 Dec 2021 15:25:44 +0000 Subject: make all component objects have the same base linker options --- kc/core/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'kc/core/Makefile') diff --git a/kc/core/Makefile b/kc/core/Makefile index b210efd..85cdb53 100644 --- a/kc/core/Makefile +++ b/kc/core/Makefile @@ -1,4 +1,5 @@ include ../../defaults.mk +include ../defaults.mk VPATH := ../../lib ../ @@ -8,11 +9,6 @@ TARGET := kernel.os CPPFLAGS += -I../../api CFLAGS += -Wno-unused-const-variable -Wno-unused-function -fvisibility=hidden -g -LIBDIRS += -L$(dir $(shell $(CC) -print-libgcc-file-name)) -LDSCRIPT := ../component.ld -LDFLAGS += -z max-page-size=4096 --export-dynamic -pic --no-dynamic-linker -LOADLIBES := -lgcc - SOBJS := GOBJS := entry_x86_64.o reloc_x86_64.o kprint.o serial.o port.o \ kc_main.o main.o memory.o memset.o memcpy.o memmove.o memcmp.o cpu.o \ -- cgit v1.3.1-1-g115d