diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-06-06 14:01:25 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-07 21:21:55 +0100 |
| commit | 6b9af87f3eb86faf80fe14f993ca90fc7464bfcb (patch) | |
| tree | 323e3686d1ff95e852260078996a94fd74ee4c11 /meta/recipes-devtools/perl | |
| parent | 12fe7e244ee972c1fe8865d4c85bd9b869eb9a6b (diff) | |
| download | poky-6b9af87f3eb86faf80fe14f993ca90fc7464bfcb.tar.gz | |
perl: clean prior to build
Otherwise, when running configure/make on a previously built tree,
makefiles generated by makemaker may detect that 'configuration has changed',
followed by self-deletion, self-regeneration, requesting the user to
re-run make and exit 1. And therefore do_compile goes kaboom.
(From OE-Core rev: 00aeb84a5e7c6d4293fb4cd30dd1e28d60c6aac5)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
| -rw-r--r-- | meta/recipes-devtools/perl/perl_5.36.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb b/meta/recipes-devtools/perl/perl_5.36.0.bb index b27ac5c3da..05668bc966 100644 --- a/meta/recipes-devtools/perl/perl_5.36.0.bb +++ b/meta/recipes-devtools/perl/perl_5.36.0.bb | |||
| @@ -113,6 +113,7 @@ print(datetime.fromtimestamp($SOURCE_DATE_EPOCH, timezone.utc).strftime('%a %b % | |||
| 113 | ")" | 113 | ")" |
| 114 | echo "#define PERL_BUILD_DATE \"$PERL_BUILD_DATE\"" >> config.h | 114 | echo "#define PERL_BUILD_DATE \"$PERL_BUILD_DATE\"" >> config.h |
| 115 | fi | 115 | fi |
| 116 | oe_runmake clean | ||
| 116 | } | 117 | } |
| 117 | 118 | ||
| 118 | do_compile() { | 119 | do_compile() { |
