diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-02-06 22:02:38 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-08 10:59:06 +0000 |
commit | 3ab7f0af56d0a12fa890faec4f24506669eb7e39 (patch) | |
tree | 79d028d559ae4d3be09e16118b02b0ac1610c697 /scripts/lib/recipetool/create_buildsys.py | |
parent | 2d4d362de10479004990e89ae9e72bd48a752dfb (diff) | |
download | poky-3ab7f0af56d0a12fa890faec4f24506669eb7e39.tar.gz |
ptest.bbclass: Handle the case when Makefile does not exist in do_install_ptest_base
Some recipes e.g. expant generate ninja files and no Makefile may exist,
therefore grep -q would fail on a non-existent file, we just need the
return code to decide if intall-ptest target should be run or not.
Fixes errors like
| grep: Makefile: No such file or directory
(From OE-Core rev: 01f3966d6bf2442a28b460b67bfc02241cd9ddc2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys.py')
0 files changed, 0 insertions, 0 deletions