diff options
author | Marvin Borner | 2021-05-18 18:37:19 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-18 18:37:50 +0200 |
commit | 4b4bfec8a312132acc84b5166998d0cfa7c01931 (patch) | |
tree | eeb494cf539b4bfdb6dae23a34f5f1c5d7167667 /kernel/Makefile | |
parent | eb13f2a8f536fecf918699bc19b3087a78a417d6 (diff) |
Improved entire building chain (especially debugging)
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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 |