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-bsp/keymaps | |
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-bsp/keymaps')
-rw-r--r-- | meta/recipes-bsp/keymaps/keymaps_1.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb index e30dd9dca2..0425197c98 100644 --- a/meta/recipes-bsp/keymaps/keymaps_1.0.bb +++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb | |||
@@ -24,7 +24,8 @@ SRC_URI = "file://keymap.sh" | |||
24 | INITSCRIPT_NAME = "keymap.sh" | 24 | INITSCRIPT_NAME = "keymap.sh" |
25 | INITSCRIPT_PARAMS = "start 01 S ." | 25 | INITSCRIPT_PARAMS = "start 01 S ." |
26 | 26 | ||
27 | S = "${WORKDIR}" | 27 | S = "${WORKDIR}/sources" |
28 | UNPACKDIR = "${S}" | ||
28 | 29 | ||
29 | do_install () { | 30 | do_install () { |
30 | # Only install the script if 'sysvinit' is in DISTRO_FEATURES | 31 | # Only install the script if 'sysvinit' is in DISTRO_FEATURES |