diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-30 14:23:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-02 15:15:51 +0100 |
commit | 0ea63b6a439fe97f840c69d08cf381687baaae3f (patch) | |
tree | c632ba15d6b67617859f335fe9263930cbf1a0fa /meta/recipes-devtools/meson | |
parent | 3288587aeb009fb65652776242c0a526b90771e2 (diff) | |
download | poky-0ea63b6a439fe97f840c69d08cf381687baaae3f.tar.gz |
recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.
(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson')
-rw-r--r-- | meta/recipes-devtools/meson/meson_1.3.1.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/meson/meson_1.3.1.bb b/meta/recipes-devtools/meson/meson_1.3.1.bb index 9cc0cc31ab..3d2eedca10 100644 --- a/meta/recipes-devtools/meson/meson_1.3.1.bb +++ b/meta/recipes-devtools/meson/meson_1.3.1.bb | |||
@@ -132,11 +132,11 @@ do_install:append:class-nativesdk() { | |||
132 | install_templates | 132 | install_templates |
133 | 133 | ||
134 | install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d | 134 | install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d |
135 | install -m 0755 ${WORKDIR}/meson-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/ | 135 | install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${SDKPATHNATIVE}/post-relocate-setup.d/ |
136 | 136 | ||
137 | # We need to wrap the real meson with a thin env setup wrapper. | 137 | # We need to wrap the real meson with a thin env setup wrapper. |
138 | mv ${D}${bindir}/meson ${D}${bindir}/meson.real | 138 | mv ${D}${bindir}/meson ${D}${bindir}/meson.real |
139 | install -m 0755 ${WORKDIR}/meson-wrapper ${D}${bindir}/meson | 139 | install -m 0755 ${UNPACKDIR}/meson-wrapper ${D}${bindir}/meson |
140 | } | 140 | } |
141 | 141 | ||
142 | FILES:${PN}:append:class-nativesdk = "${datadir}/meson ${SDKPATHNATIVE}" | 142 | FILES:${PN}:append:class-nativesdk = "${datadir}/meson ${SDKPATHNATIVE}" |
@@ -149,10 +149,10 @@ do_install:append:class-native() { | |||
149 | install_templates | 149 | install_templates |
150 | 150 | ||
151 | install -d ${D}${datadir}/post-relocate-setup.d | 151 | install -d ${D}${datadir}/post-relocate-setup.d |
152 | install -m 0755 ${WORKDIR}/meson-setup.py ${D}${datadir}/post-relocate-setup.d/ | 152 | install -m 0755 ${UNPACKDIR}/meson-setup.py ${D}${datadir}/post-relocate-setup.d/ |
153 | 153 | ||
154 | # We need to wrap the real meson with a thin wrapper that substitues native/cross files | 154 | # We need to wrap the real meson with a thin wrapper that substitues native/cross files |
155 | # when running in a direct SDK environment. | 155 | # when running in a direct SDK environment. |
156 | mv ${D}${bindir}/meson ${D}${bindir}/meson.real | 156 | mv ${D}${bindir}/meson ${D}${bindir}/meson.real |
157 | install -m 0755 ${WORKDIR}/meson-wrapper ${D}${bindir}/meson | 157 | install -m 0755 ${UNPACKDIR}/meson-wrapper ${D}${bindir}/meson |
158 | } | 158 | } |