From 4b4bfec8a312132acc84b5166998d0cfa7c01931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 18 May 2021 18:37:19 +0200 Subject: Improved entire building chain (especially debugging) --- kernel/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/Makefile') diff --git a/kernel/Makefile b/kernel/Makefile index 01fe3c1..14fc055 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -42,3 +42,6 @@ all: compile compile: $(COBJS) @mkdir -p $(BUILD)/apps/kernel/ @$(LD) -N -z max-page-size=0x1000 -eboot_entry -Tlink.ld -o $(BUILD)/apps/kernel/exec -L$(BUILD) $+ -lk +ifeq ($(CONFIG_STRIP), true) + @$(ST) --strip-all $(BUILD)/apps/kernel/exec +endif -- cgit v1.2.3