diff options
author | Richard Levitte <levitte@openssl.org> | 2021-02-25 16:55:39 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-03-03 14:47:01 +0100 |
commit | 3f399e3787788b1cc3832e254c53cda42873d847 (patch) | |
tree | 9eb93a058ff17e99b3c1b66926b77ff25f036134 /Configurations/descrip.mms.tmpl | |
parent | 8593ff00cc66e330228164ae5422f80ef93ed35d (diff) |
build.info: Add the possibility to add dependencies on raw targets
We need to add something for the 'tests' target to depend on, so a
special syntax for those is introduced:
DEPEND[|tests|]=fipsmodule.cnf
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14320)
Diffstat (limited to 'Configurations/descrip.mms.tmpl')
-rw-r--r-- | Configurations/descrip.mms.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 3f015a0eb5..abc344594d 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -795,6 +795,14 @@ reconfigure reconf : return ([ @before ], [ @after ]); } + sub generatetarget { + my %args = @_; + my $deps = join(" ", @{$args{deps}}); + return <<"EOF"; +$args{target} : $deps +EOF + } + sub generatesrc { my %args = @_; my $generator = join(" ", @{$args{generator}}); |