Skip to content

Commit 0b5f718

Browse files
committed
fsp: mk: remove --print-gc-sections flag to reduce build output
1 parent fc08eac commit 0b5f718

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ ifeq ("${FSP}", "1")
680680
--defsym wb_start_bss=0x`nm ../wolfboot.elf | grep -w _start_bss | awk '{print $$1}'` \
681681
--defsym wb_end_bss=0x`nm ../wolfboot.elf | grep -w _end_bss | awk '{print $$1}'` \
682682
--defsym _stage2_params=0x`nm ../wolfboot.elf | grep -w _stage2_params | awk '{print $$1}'`
683-
LDFLAGS += --gc-sections --print-gc-sections --entry=reset_vector -T $(LSCRIPT) -m elf_i386 -Map=loader_stage1.map
683+
LDFLAGS += --gc-sections --entry=reset_vector -T $(LSCRIPT) -m elf_i386 -Map=loader_stage1.map
684684
OBJS += src/boot_x86_fsp.o
685685
OBJS += src/boot_x86_fsp_start.o
686686
OBJS += src/fsp_m.o
@@ -722,7 +722,7 @@ ifeq ("${FSP}", "1")
722722
else
723723
LSCRIPT_IN = hal/$(TARGET).ld.in
724724
endif
725-
LDFLAGS = --gc-sections --print-gc-sections --entry=main -T $(LSCRIPT) -Map=wolfboot.map
725+
LDFLAGS = --gc-sections --entry=main -T $(LSCRIPT) -Map=wolfboot.map
726726
CFLAGS += -fno-stack-protector -fno-PIC -fno-pie -mno-mmx -mno-sse -Os -DDEBUG_UART
727727
OBJS += hal/x86_fsp_tgl.o
728728
OBJS += hal/x86_uart.o

0 commit comments

Comments
 (0)