Override old all_interfaces.conf.tmp file

Do not keep interfaces from previous builds.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2020-04-20 16:22:38 +02:00
parent 4f846ea99d
commit 13337ba8df
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ $(tmpdir)/global_bools.conf: $(m4support) $(tmpdir)/generated_definitions.conf $
$(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror) $(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror)
@test -d $(tmpdir) || mkdir -p $(tmpdir) @test -d $(tmpdir) || mkdir -p $(tmpdir)
@cat $(m4divert) > $@ @cat $(m4divert) > $@
$(verbose) $(M4) $^ >> $(tmpdir)/$(@F).tmp $(verbose) $(M4) $^ > $(tmpdir)/$(@F).tmp
$(verbose) $(SED) -e s/dollarsstar/\$$\*/g $(tmpdir)/$(@F).tmp >> $@ $(verbose) $(SED) -e s/dollarsstar/\$$\*/g $(tmpdir)/$(@F).tmp >> $@
@cat $(m4undivert) >> $@ @cat $(m4undivert) >> $@

View File

@ -123,7 +123,7 @@ $(tmpdir)/global_bools.conf: $(m4support) $(tmpdir)/generated_definitions.conf $
$(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror) $(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror)
@test -d $(tmpdir) || mkdir -p $(tmpdir) @test -d $(tmpdir) || mkdir -p $(tmpdir)
@cat $(m4divert) > $@ @cat $(m4divert) > $@
$(verbose) $(M4) $^ >> $(tmpdir)/$(@F).tmp $(verbose) $(M4) $^ > $(tmpdir)/$(@F).tmp
$(verbose) $(SED) -e s/dollarsstar/\$$\*/g $(tmpdir)/$(@F).tmp >> $@ $(verbose) $(SED) -e s/dollarsstar/\$$\*/g $(tmpdir)/$(@F).tmp >> $@
@cat $(m4undivert) >> $@ @cat $(m4undivert) >> $@