diff --git a/Configurations/gentemplate.pm b/Configurations/gentemplate.pm index 4bf19af9c2..3fd5f675c9 100644 --- a/Configurations/gentemplate.pm +++ b/Configurations/gentemplate.pm @@ -227,6 +227,10 @@ sub dogenerate { foreach (@{$self->{info}->{depends}->{$src} // []}) { $self->dogenerate($_, $obj, $bin, %opts); } + # The generator itself may be is generated + if ($self->{info}->{generate}->{$script}) { + $self->dogenerate($script, $obj, $bin, %opts); + } } $cache{$src} = 1; }