From 13337ba8dfd2e46bcf654652871a19c9fedc7ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 20 Apr 2020 16:22:38 +0200 Subject: [PATCH] Override old all_interfaces.conf.tmp file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not keep interfaces from previous builds. Signed-off-by: Christian Göttsche --- Rules.modular | 2 +- Rules.monolithic | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rules.modular b/Rules.modular index 983f924de..2552aee9c 100644 --- a/Rules.modular +++ b/Rules.modular @@ -141,7 +141,7 @@ $(tmpdir)/global_bools.conf: $(m4support) $(tmpdir)/generated_definitions.conf $ $(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror) @test -d $(tmpdir) || mkdir -p $(tmpdir) @cat $(m4divert) > $@ - $(verbose) $(M4) $^ >> $(tmpdir)/$(@F).tmp + $(verbose) $(M4) $^ > $(tmpdir)/$(@F).tmp $(verbose) $(SED) -e s/dollarsstar/\$$\*/g $(tmpdir)/$(@F).tmp >> $@ @cat $(m4undivert) >> $@ diff --git a/Rules.monolithic b/Rules.monolithic index a372d421a..51c458300 100644 --- a/Rules.monolithic +++ b/Rules.monolithic @@ -123,7 +123,7 @@ $(tmpdir)/global_bools.conf: $(m4support) $(tmpdir)/generated_definitions.conf $ $(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror) @test -d $(tmpdir) || mkdir -p $(tmpdir) @cat $(m4divert) > $@ - $(verbose) $(M4) $^ >> $(tmpdir)/$(@F).tmp + $(verbose) $(M4) $^ > $(tmpdir)/$(@F).tmp $(verbose) $(SED) -e s/dollarsstar/\$$\*/g $(tmpdir)/$(@F).tmp >> $@ @cat $(m4undivert) >> $@