diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-01 22:50:08 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-02 15:15:51 +0100 |
| commit | 3288587aeb009fb65652776242c0a526b90771e2 (patch) | |
| tree | facd6bb167777e9ae7978c50533d88d8319a3e84 /meta/recipes-devtools | |
| parent | 808f700efcb98f5344c18db6c91b83a9e4bd15e8 (diff) | |
| download | poky-3288587aeb009fb65652776242c0a526b90771e2.tar.gz | |
recipes: Update S = WORKDIR recipes to use ${S} correctly
Where recipes use S = ${WORKDIR}, ensure they are referencing ${S} correctly
to access files as soon we want to stop doing this in WORKDIR at which point
they would break unless corrected.
(From OE-Core rev: f25dd633fffe6560f191526d1869e657e129bad9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
6 files changed, 9 insertions, 9 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb index e4b4201b1f..bbd574e287 100644 --- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb +++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb | |||
| @@ -8,7 +8,7 @@ HOMEPAGE = "https://docbook.org" | |||
| 8 | # upgrading this recipe, please verify whether this is still needed. | 8 | # upgrading this recipe, please verify whether this is still needed. |
| 9 | 9 | ||
| 10 | LICENSE = "OASIS" | 10 | LICENSE = "OASIS" |
| 11 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" | 11 | LIC_FILES_CHKSUM = "file://${S}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" |
| 12 | 12 | ||
| 13 | # To support apps with xml schema backward compatibility, we must | 13 | # To support apps with xml schema backward compatibility, we must |
| 14 | # install a set of schemas. Install the latest based on PV and then | 14 | # install a set of schemas. Install the latest based on PV and then |
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..56a9321fb9 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 | |||
| @@ -30,7 +30,7 @@ S = "${WORKDIR}" | |||
| 30 | 30 | ||
| 31 | do_install() { | 31 | do_install() { |
| 32 | install -d ${D}/${bindir} | 32 | install -d ${D}/${bindir} |
| 33 | install -m 0755 ${WORKDIR}/icecc-create-env ${D}/${bindir} | 33 | install -m 0755 ${S}/icecc-create-env ${D}/${bindir} |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | BBCLASSEXTEND = "native nativesdk" | 36 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb index 5d40784201..997f72e6e7 100644 --- a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb +++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb | |||
| @@ -28,6 +28,6 @@ do_compile() { | |||
| 28 | 28 | ||
| 29 | do_install() { | 29 | do_install() { |
| 30 | install -d ${D}${bindir} | 30 | install -d ${D}${bindir} |
| 31 | install -m 0755 ${WORKDIR}${COREBASE}/scripts/oe-* ${D}${bindir}/ | 31 | install -m 0755 ${S}${COREBASE}/scripts/oe-* ${D}${bindir}/ |
| 32 | install -m 0755 ${WORKDIR}${COREBASE}/scripts/runqemu* ${D}${bindir}/ | 32 | install -m 0755 ${S}${COREBASE}/scripts/runqemu* ${D}${bindir}/ |
| 33 | } | 33 | } |
diff --git a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb index 1dfce0e4c7..8bb6ef0995 100644 --- a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb +++ b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb | |||
| @@ -2,7 +2,7 @@ SUMMARY = "Helper utilities needed by the runqemu script" | |||
| 2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
| 3 | RDEPENDS:${PN} = "qemu-system-native" | 3 | RDEPENDS:${PN} = "qemu-system-native" |
| 4 | 4 | ||
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab86f2caaa8462eacda77f4d7" | 5 | LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab86f2caaa8462eacda77f4d7" |
| 6 | 6 | ||
| 7 | SRC_URI = "file://qemu-oe-bridge-helper.c" | 7 | SRC_URI = "file://qemu-oe-bridge-helper.c" |
| 8 | 8 | ||
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb index e977942de8..e3d63df852 100644 --- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb +++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb | |||
| @@ -29,13 +29,13 @@ do_compile () { | |||
| 29 | 29 | ||
| 30 | do_install() { | 30 | do_install() { |
| 31 | install -d ${D}${sbindir} | 31 | install -d ${D}${sbindir} |
| 32 | install -m 0755 ${WORKDIR}/run-postinsts ${D}${sbindir}/ | 32 | install -m 0755 ${S}/run-postinsts ${D}${sbindir}/ |
| 33 | 33 | ||
| 34 | install -d ${D}${sysconfdir}/init.d/ | 34 | install -d ${D}${sysconfdir}/init.d/ |
| 35 | install -m 0755 ${WORKDIR}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts | 35 | install -m 0755 ${S}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts |
| 36 | 36 | ||
| 37 | install -d ${D}${systemd_system_unitdir}/ | 37 | install -d ${D}${systemd_system_unitdir}/ |
| 38 | install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_system_unitdir}/ | 38 | install -m 0644 ${S}/run-postinsts.service ${D}${systemd_system_unitdir}/ |
| 39 | 39 | ||
| 40 | sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \ | 40 | sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \ |
| 41 | -e 's:#SBINDIR#:${sbindir}:g' \ | 41 | -e 's:#SBINDIR#:${sbindir}:g' \ |
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian.inc b/meta/recipes-devtools/rust/rust-cross-canadian.inc index 7bfef6d175..f59fee7cdd 100644 --- a/meta/recipes-devtools/rust/rust-cross-canadian.inc +++ b/meta/recipes-devtools/rust/rust-cross-canadian.inc | |||
| @@ -46,7 +46,7 @@ do_install () { | |||
| 46 | # where the context is easier to do the env maniupations needed | 46 | # where the context is easier to do the env maniupations needed |
| 47 | install -d ${SYS_BINDIR} | 47 | install -d ${SYS_BINDIR} |
| 48 | outfile="${SYS_BINDIR}/target-rust-ccld" | 48 | outfile="${SYS_BINDIR}/target-rust-ccld" |
| 49 | ${CC} ${WORKDIR}/target-rust-ccld.c -o $outfile | 49 | ${CC} ${S}/target-rust-ccld.c -o $outfile |
| 50 | chmod +x "$outfile" | 50 | chmod +x "$outfile" |
| 51 | create_sdk_wrapper "${SYS_BINDIR}/target-rust-ccld-wrapper" "CC" | 51 | create_sdk_wrapper "${SYS_BINDIR}/target-rust-ccld-wrapper" "CC" |
| 52 | 52 | ||
