diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-01 21:34:02 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-02 15:15:51 +0100 |
| commit | 808f700efcb98f5344c18db6c91b83a9e4bd15e8 (patch) | |
| tree | 0e817ed83944ae935d3e5123dea39dbbf70f51ba /meta/classes-recipe/ptest.bbclass | |
| parent | 812dafbec1918fbbf89e8466988da602bf5edee0 (diff) | |
| download | poky-808f700efcb98f5344c18db6c91b83a9e4bd15e8.tar.gz | |
classes/lib/scripts: Initial WORKDIR -> UNPACKDIR updates
Work through the initial issues I found where we need to change WORKDIR
to UNPACKDIR.
(From OE-Core rev: 86fec41b1e809d1a2fa2feadc26d29020df53d39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/ptest.bbclass')
| -rw-r--r-- | meta/classes-recipe/ptest.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/ptest.bbclass b/meta/classes-recipe/ptest.bbclass index 348d729aef..0941572f8f 100644 --- a/meta/classes-recipe/ptest.bbclass +++ b/meta/classes-recipe/ptest.bbclass | |||
| @@ -53,8 +53,8 @@ do_install_ptest() { | |||
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | do_install_ptest_base() { | 55 | do_install_ptest_base() { |
| 56 | if [ -f ${WORKDIR}/run-ptest ]; then | 56 | if [ -f ${UNPACKDIR}/run-ptest ]; then |
| 57 | install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest | 57 | install -D ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest |
| 58 | fi | 58 | fi |
| 59 | 59 | ||
| 60 | grep -q install-ptest: Makefile 2>/dev/null && oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest | 60 | grep -q install-ptest: Makefile 2>/dev/null && oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest |
