Skip to content

Commit

Permalink
feat: create mapfile when linking
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Haun <[email protected]>
  • Loading branch information
Laikulo committed Nov 18, 2024
1 parent 9bd0d47 commit e53376d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CFLAGS += -flto=auto -fwhole-program -fno-use-linker-plugin -ggdb3

OBJS_klipper.elf = $(patsubst %.c, $(OUT)src/%.o,$(src-y))
OBJS_klipper.elf += $(OUT)compile_time_request.o
CFLAGS_klipper.elf = $(CFLAGS) -Wl,--gc-sections
CFLAGS_klipper.elf = $(CFLAGS) -Wl,--gc-sections -Wl,-Map,"$(OUT)klipper.map"

CPPFLAGS = -I$(OUT) -P -MD -MT $@

Expand Down

0 comments on commit e53376d

Please sign in to comment.