Ensure that config changes cause the output to be rebuilt

pull/140/head
Hamish Coleman 5 years ago
parent c5ceb033c3
commit 50c66dd878

@ -11,6 +11,10 @@ use strict;
# $filename.orig from $depname.orig using macro rule_$rule_extract # $filename.orig from $depname.orig using macro rule_$rule_extract
# $depname from $filename using macro rule_$rule_insert # $depname from $filename using macro rule_$rule_insert
# #
# TODO:
# - this currently hardcods a dependancy on .config for every generated rule
# - which could be relaxed with some work
# - also, hardcoding it might not be the nicest method
my @entries; my @entries;
@ -106,6 +110,7 @@ for my $entry (@entries) {
@deps, @deps,
@deps_extract, @deps_extract,
$entry->{generator_file}, $entry->{generator_file},
'.config',
), ),
'$('.$rule.'_DEPS)', '$('.$rule.'_DEPS)',
join(',',$rule,@params), join(',',$rule,@params),
@ -127,6 +132,7 @@ for my $entry (@entries) {
@deps, @deps,
@deps_insert, @deps_insert,
$entry->{generator_file}, $entry->{generator_file},
'.config',
), ),
'$('.$rule.'_DEPS)', '$('.$rule.'_DEPS)',
join(',',$rule,@params), join(',',$rule,@params),

Loading…
Cancel
Save