diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-01 22:52:57 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-21 12:08:04 +0100 |
| commit | d6ae8d2004f8ac3aab4571e0077d406b2d19b542 (patch) | |
| tree | 6fee0cb55968ea21155c7556bcfb56af956eda2c /meta/recipes-devtools/qemu | |
| parent | 71c6db8e65ced98db74fd18b726fa4b4c0346f05 (diff) | |
| download | poky-d6ae8d2004f8ac3aab4571e0077d406b2d19b542.tar.gz | |
recipes: Switch away from S = WORKDIR
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.
I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.
(From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
| -rw-r--r-- | meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 3 |
3 files changed, 6 insertions, 3 deletions
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 997f72e6e7..90bba84b03 100644 --- a/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb +++ b/meta/recipes-devtools/qemu/nativesdk-qemu-helper_1.0.bb | |||
| @@ -18,7 +18,8 @@ SRC_URI = "file://${COREBASE}/scripts/runqemu \ | |||
| 18 | file://${COREBASE}/scripts/runqemu-export-rootfs \ | 18 | file://${COREBASE}/scripts/runqemu-export-rootfs \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}" | 21 | S = "${WORKDIR}/sources" |
| 22 | UNPACKDIR = "${S}" | ||
| 22 | 23 | ||
| 23 | inherit nativesdk | 24 | inherit nativesdk |
| 24 | 25 | ||
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 8bb6ef0995..28a3b95c4e 100644 --- a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb +++ b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb | |||
| @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab8 | |||
| 6 | 6 | ||
| 7 | SRC_URI = "file://qemu-oe-bridge-helper.c" | 7 | SRC_URI = "file://qemu-oe-bridge-helper.c" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}" | 9 | S = "${WORKDIR}/sources" |
| 10 | UNPACKDIR = "${S}" | ||
| 10 | 11 | ||
| 11 | inherit native | 12 | inherit native |
| 12 | 13 | ||
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb index 97b44ad2e5..6d0e7883ad 100644 --- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb +++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | |||
| @@ -2,7 +2,8 @@ SUMMARY = "QEMU wrapper script" | |||
| 2 | HOMEPAGE = "http://qemu.org" | 2 | HOMEPAGE = "http://qemu.org" |
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | 4 | ||
| 5 | S = "${WORKDIR}" | 5 | S = "${WORKDIR}/sources" |
| 6 | UNPACKDIR = "${S}" | ||
| 6 | 7 | ||
| 7 | DEPENDS += "qemu-native" | 8 | DEPENDS += "qemu-native" |
| 8 | 9 | ||
