Skip to content

Commit

Permalink
py/mkrules.mk: Remove unnecessary ; in makefile.
Browse files Browse the repository at this point in the history
This ; make Windows compilation fail with GNU makefile 4.2.1.  It was added
in 0dc85c9 as part of a shell if-
statement, but this if-statement was subsequently removed in
23a693e so the semicolon is not needed.
  • Loading branch information
Sebastien Rinsoz authored and dpgeorge committed May 22, 2019
1 parent a4f4239 commit 6cf4e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/mkrules.mk
Expand Up @@ -72,7 +72,7 @@ $(OBJ): | $(HEADER_BUILD)/qstrdefs.generated.h $(HEADER_BUILD)/mpversion.h
# - else, process all source files ($^) [this covers "make -B" which can set $? to empty]
$(HEADER_BUILD)/qstr.i.last: $(SRC_QSTR) $(QSTR_GLOBAL_DEPENDENCIES) | $(HEADER_BUILD)/mpversion.h
$(ECHO) "GEN $@"
$(Q)$(CPP) $(QSTR_GEN_EXTRA_CFLAGS) $(CFLAGS) $(if $(filter $?,$(QSTR_GLOBAL_DEPENDENCIES)),$^,$(if $?,$?,$^)) >$(HEADER_BUILD)/qstr.i.last;
$(Q)$(CPP) $(QSTR_GEN_EXTRA_CFLAGS) $(CFLAGS) $(if $(filter $?,$(QSTR_GLOBAL_DEPENDENCIES)),$^,$(if $?,$?,$^)) >$(HEADER_BUILD)/qstr.i.last

$(HEADER_BUILD)/qstr.split: $(HEADER_BUILD)/qstr.i.last
$(ECHO) "GEN $@"
Expand Down

0 comments on commit 6cf4e96

Please sign in to comment.