diff options
author | Alejandro Hernandez Samaniego <alejandro@enedino.org> | 2023-06-23 17:31:22 -0600 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-07-20 12:10:40 -1000 |
commit | 569b57b9d2bce2633e2395fd796f0900a92f0dcf (patch) | |
tree | 8e3f887eace210423185690d6f14b520584212f1 /scripts/lib/devtool/import.py | |
parent | ac2c61dc6b7d062eded31878f25b8e4d2d1a9035 (diff) | |
download | poky-569b57b9d2bce2633e2395fd796f0900a92f0dcf.tar.gz |
baremetal-helloworld: Fix race condition
There was a race condition during the Makefile execution in
between the assemble and compile targets, only the assemble
target had a dependency on creating the build directory.
If the compile target was executed first, an error was thrown
by bitbake since the build directory did not exist yet:
| Assembler messages:
| Fatal error: can't create build/hello_baremetal_aarch64.o:
No such file or directory
Update the SRCREV to reflect the latest changes serializing
the makefile targets to avoid such race condition from happening.
[YOCTO #15146]
(From OE-Core rev: fe637f795238685f5d8e4e3dbf48235dabb1cc17)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a999af292c7b3dd3bb7c0722cc31624c425f432)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/import.py')
0 files changed, 0 insertions, 0 deletions