From fd441969467a9300685586f3cbf55961943ed151 Mon Sep 17 00:00:00 2001 From: Mathias Rasmussen Date: Fri, 23 Oct 2020 22:07:17 +0200 Subject: [PATCH] build: Update makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e5029b7..d798bb2 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,8 @@ $(foreach _e,$(TARGETS), \ $(OUTPUT_DIR)/%.OMF : $(OUTPUT_DIR)/%.OBJ $(eval LOG := $(LOG_DIR)/$(basename $(notdir $@)).log) @echo "LX51 : linking $< to $@" - @$(LX51) "$<" TO "$@" "$(LX51_FLAGS)" >> $(LOG) 2>&1; test $$? -lt 2 || tail $(LOG) +# # Linking should produce exactly 1 warning + @$(LX51) "$<" TO "$@" "$(LX51_FLAGS)" >> $(LOG) 2>&1; test $$? -lt 2 && grep -q "1 WARNING" $(LOG) || tail $(LOG) $(OUTPUT_DIR_HEX)/%.hex : $(OUTPUT_DIR)/%.OMF $(eval LOG := $(LOG_DIR)/$(basename $(notdir $@)).log)