From 3d2ed681e3372d3ab9845a62b7ce730859c1402d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Fri, 3 Nov 2017 13:46:49 +0100 Subject: [PATCH] Makefile.base: Add missing dep to RIOTBUILD_CONFIG_HEADER_C Assembly files '.S' are compiled with a subset of CFLAGS. This means also `-include '$(RIOTBUILD_CONFIG_HEADER_C)'` so they should be recompiled when it updates. --- Makefile.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.base b/Makefile.base index 1def37be50..4c9eb135b8 100644 --- a/Makefile.base +++ b/Makefile.base @@ -92,7 +92,7 @@ $(OBJCXX): $(BINDIR)/$(MODULE)/%.o: %.cpp $(RIOTBUILD_CONFIG_HEADER_C) $(ASMOBJ): $(BINDIR)/$(MODULE)/%.o: %.s $(Q)$(AS) $(ASFLAGS) -o $@ $(abspath $<) -$(ASSMOBJ): $(BINDIR)/$(MODULE)/%.o: %.S +$(ASSMOBJ): $(BINDIR)/$(MODULE)/%.o: %.S $(RIOTBUILD_CONFIG_HEADER_C) $(Q)$(CCAS) $(CCASFLAGS) $(INCLUDES) -MD -MP -c -o $@ $(abspath $<) # pull in dependency info for *existing* .o files