mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
12fe7e244e
commit
6b9af87f3e
@@ -113,6 +113,7 @@ print(datetime.fromtimestamp($SOURCE_DATE_EPOCH, timezone.utc).strftime('%a %b %
|
||||
")"
|
||||
echo "#define PERL_BUILD_DATE \"$PERL_BUILD_DATE\"" >> config.h
|
||||
fi
|
||||
oe_runmake clean
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
|
||||
Reference in New Issue
Block a user