diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-25 17:01:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-26 15:43:43 +0100 |
commit | c5312dd92bd9fd88948567938a0f3b66782ae869 (patch) | |
tree | 6fafaa4c430beb023cb75344ec9a3293a2f90392 /meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb | |
parent | 39b85616adc434fc12aaa260268cebf3b4d9395f (diff) | |
download | poky-c5312dd92bd9fd88948567938a0f3b66782ae869.tar.gz |
recipes: Avoid S = WORKDIR
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.
Where WORKDIR is referenced in do_compile/do_install and similar, switch
to using ${S} which conceptually makes more sense.
(From OE-Core rev: d0c1ae3ffacacc762f957b9b306dfb0a912c4859)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb')
-rw-r--r-- | meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb index 1826c7a40e..dd1b257b10 100644 --- a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb +++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb | |||
@@ -26,11 +26,12 @@ ICECC_DISABLED = "1" | |||
26 | PATCHTOOL = "patch" | 26 | PATCHTOOL = "patch" |
27 | SRC_URI = "file://icecc-create-env" | 27 | SRC_URI = "file://icecc-create-env" |
28 | 28 | ||
29 | S = "${WORKDIR}" | 29 | S = "${WORKDIR}/sources" |
30 | UNPACKDIR = "${S}" | ||
30 | 31 | ||
31 | do_install() { | 32 | do_install() { |
32 | install -d ${D}/${bindir} | 33 | install -d ${D}/${bindir} |
33 | install -m 0755 ${WORKDIR}/icecc-create-env ${D}/${bindir} | 34 | install -m 0755 ${S}/icecc-create-env ${D}/${bindir} |
34 | } | 35 | } |
35 | 36 | ||
36 | BBCLASSEXTEND = "native nativesdk" | 37 | BBCLASSEXTEND = "native nativesdk" |