Skip to content

Commit aa20d4f

Browse files
committed
BaseTools: silence make
Instead of using the '-' prefix append '|| true' to the commands where errors should be ignored. With the '-' prefix make will clutter the build output with the messages about the (ignored) errors. Changed only the GCC and CLANGDWARF rules for linux systems. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
1 parent 4eb86f0 commit aa20d4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BaseTools/Conf/build_rule.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@
418418
"$(GENFW)" -e $(MODULE_TYPE) -o ${dst} ${src} $(GENFW_FLAGS)
419419
$(CP) ${dst} $(DEBUG_DIR)
420420
$(CP) ${dst} $(BIN_DIR)(+)$(MODULE_NAME_GUID).efi
421-
-$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR)
422-
-$(CP) $(DEBUG_DIR)(+)*.pdb $(OUTPUT_DIR)
421+
$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR) || true
422+
$(CP) $(DEBUG_DIR)(+)*.pdb $(OUTPUT_DIR) || true
423423

424424
<Command.XCODE>
425425
# tool to convert Mach-O to PE/COFF

0 commit comments

Comments
 (0)