Skip to content

Commit

Permalink
Makefile.include: Make config header FORCE instead of PHONY.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarrano committed Jul 25, 2018
1 parent c60a06b commit 2ba8683
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -642,10 +642,9 @@ endif
include $(RIOTTOOLS)/desvirt/Makefile.desvirt

# Build a header file with all common macro definitions and undefinitions
# make it phony to force re-run of the script every time even if the file exists
# make it depend on FORCE to re-run of the script every time even if the file exists
# The script will only touch the file if anything has changed since last time.
.PHONY: $(RIOTBUILD_CONFIG_HEADER_C)
$(RIOTBUILD_CONFIG_HEADER_C):
$(RIOTBUILD_CONFIG_HEADER_C): FORCE
@mkdir -p '$(dir $@)'
$(Q)'$(RIOTTOOLS)/genconfigheader/genconfigheader.sh' '$@' $(CFLAGS_WITH_MACROS)

Expand Down

0 comments on commit 2ba8683

Please sign in to comment.