summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-25 17:01:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-26 15:43:43 +0100
commitc5312dd92bd9fd88948567938a0f3b66782ae869 (patch)
tree6fafaa4c430beb023cb75344ec9a3293a2f90392 /meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
parent39b85616adc434fc12aaa260268cebf3b4d9395f (diff)
downloadpoky-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.bb5
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"
26PATCHTOOL = "patch" 26PATCHTOOL = "patch"
27SRC_URI = "file://icecc-create-env" 27SRC_URI = "file://icecc-create-env"
28 28
29S = "${WORKDIR}" 29S = "${WORKDIR}/sources"
30UNPACKDIR = "${S}"
30 31
31do_install() { 32do_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
36BBCLASSEXTEND = "native nativesdk" 37BBCLASSEXTEND = "native nativesdk"